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

< Feedback on DownloadAllContent

Câu hỏi/Bình luận

§
Posted: 03-06-2023

有个网站比较奇怪,电脑版的话每一章都是成功下载一部分,大概从第二个分页开始就变成阅读模式,显示
你看到的内容中间可能有缺失,请退出>阅读模式,或者刷新页面试试。
如果打开手机版就只能下载每章第一页,分页下载不了,而且永夜机也对手机版无效
电脑版还有广告,我已经放弃电脑版了,能看一下手机版怎么搞吗?
https://m.touwz.com/

hoothinTác giả
§
Posted: 05-06-2023
Edited: 05-06-2023

这是永页机规则

{
    "name": "头文字小说",
    "url": "^https?://m\\.touwz\\.com/",
    "example": "https://m.touwz.com/dushi/yinhezhuiluo/31644607.html",
    "nextLink": "#pt_next>span,#pb_next",
    "pageElement": "#nr>.content-div",
    "action": 3
}

内分页的话。10号 11号 15号自定义规则都可以参考,用异步方法,抓取完成之后一起返回就行了

§
Posted: 05-06-2023

谢谢大佬!

Post reply

Đăng nhập để bình luận