Greasy Fork is available in English.

Pagetual

Chargement automatique des pages Web paginées suivantes et insertion dans la page en cours. Prend en charge des milliers de sites Web sans aucune règle.

< Commentaires sur Pagetual

Avis: Bon - le script fonctionne correctement

§
Posté le: 27/06/2023

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

hoothinAuteur
§
Posté le: 28/06/2023
Édité le: 28/06/2023
{
    "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
}

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

§
Posté le: 11/07/2023

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

Poster une réponse

Connectez-vous pour poster une réponse.