Greasy Fork is available in English.

DownloadAllContent

Lightweight web scraping script. Fetch and download main textual content from the current page, provide special support for novels

< DownloadAllContent 피드백

리뷰: 좋음 - 잘 동작함

§
작성: 2023-12-21

有些网站反爬,我试的只有东方永页机的强制拼页可以获取小说全文。不过内容在iframe里,小说下载器好像获取不了。
下面是jq获取iframe内容的一种写法,也许有用:
var allStr = "";

$("html,iframe").contents().find(":not(style,script,noscript)").each(function() {
var addStr = $(this).clone().children().remove().end().text().replace(/\s+/g, " ")
if (addStr.replace(/[^一-鿯0-9]/g, "").length > 6) {
allStr += "

";
}
allStr += addStr + " ";
});

hoothin개발자
§
작성: 2023-12-22

设置页勾选“下载前显示章节筛选排序窗口”,下载时可选用iframe解析内容

§
작성: 2023-12-22

手机上那个窗口太大了,看不了,有这个功能就行

댓글 남기기

댓글을 남기려면 로그인하세요.