東方永頁機

終極自動翻頁 - 加載並拼接下一分頁內容至當前頁尾,智能適配任意網頁

< 腳本東方永頁機的回應

提問/評論

§
發表於:2022-02-21

https://bookfere.com/post/655.html
像这样的页面,本身没有分页,但还是会自动翻页,而翻页的内容是下一篇文章。

hoothin作者
§
發表於:2022-02-21

这个站点不是智能规则翻的,是被wedata的这一条规则匹配到了

name: "hAtom"
nextLink: "(//link|//a)[contains(concat(' ', translate(normalize-space(@rel),'NEXT','next'), ' '), ' next ')]"
pageElement: "//*[contains(concat(' ', normalize-space(@class), ' '), ' hentry ') or contains(concat(' ', normalize-space(@class), ' '), ' h-entry ')][count(//*[./*[contains(concat(' ', normalize-space(@class), ' '), ' hentry ') or contains(concat(' ', normalize-space(@class), ' '), ' h-entry ')]])=1]"
url: "^https?://."

这边最好的解决方案就是在此站禁用了

發表回覆

登入以回復