Greasy Fork is available in English.

Pagetual

Perpetual pages - powerful auto-pager script. Auto fetching next paginated web pages and inserting into current page for infinite scroll. Support thousands of web sites without any rule.

< Feedback on Pagetual

Review: Good - script works

§
Posted: 2023-06-27

感谢作者提供这么好的工具!想请教下,在小说网站有分节和分章情况下只能翻章,即使抓取了分节的跳转部分也没用,该怎么改进呢?网站是这个:https://www.jmshuwu.net/

hoothinAuthor
§
Posted: 2023-06-28
Edited: 2023-06-28
{
    "name": "寂寞书屋",
    "url": "^https?://m\\.jmshuwu\\.net/",
    "example": "http://m.jmshuwu.net/64/64248/4964718.html",
    "nextLinkByJs": "let next=doc.querySelector('a.curr+a');if(next)return next.href.replace(/.*\\((\\d+),(\\d+),(\\d+),(\\d+)\\);/,'/$1/$2/$3_$4.html');next=doc.querySelector('a.next');if(next)return next.href;",
    "pageElement": ".contentinfo,#ChapterView",
    "action": 2
}

稍微扒了一下这个站,可能没有覆盖所有情况。你试试,不行的话可以自己修改规则

§
Posted: 2023-07-11

才看见!大佬真的是有才又谦虚,阿里嘎多(*^_^*)!

Post reply

Sign in to post a reply.