Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page)~
{
"e360xs": {
"host": "www.e360xs.com",
"history": false,
"pager": {
"nextL": "//a[contains(text(), \"下一章\") or contains(text(), \"下一页\") or contains(text(), \"下一节\")]",
"pageE": "#read_content",
"replaceE": "#read_link"
}
}
}
要怎么弄呢放在自定义翻页规则那里?无效欸
{
"e360xs": {
"host": "www.e360xs.com",
"history": false,
"pager": {
"nextL": "#btnNext",
"pageE": ".chapter",
"replaceE": "#btnNext"
}
}
}
{
"e360xs": {
"host": "m.e360xs.com",
"history": false,
"pager": {
"nextL": "#btnNext",
"pageE": ".chapter",
"replaceE": "#btnNext"
}
}
}
他妈的 一点脑子都没有,不会变通吗
你有,写的代码也屁用没有,不会自己去看,你还不如别搭理我,还臭到我了,我会我需要在这里看你放p?
"360小说网 - 手机版阅读": { "host": "m.e360xs.com", "pager": { "nextL": "js;let end=fun.getXpath(\"//a[@id='btnNext' and text()='暂无下一章']\");let bn=fun.getXpath(\"//a[@id='btnNext' and text()='下一章']\");if(end){return;}else if(bn){return bn.href}else if(fun.getCSS('#btnNext[href^=javascript]')||fun.getCSS('.abcdYe[href^=javascript]')||fun.getCSS('.abcdYeT[href^=javascript]')){return ___XSXSXS}", "pageE": "//div[@class='chapter'] | //script[contains(text(),'___XSXSXS')]", "replaceE": ".book_switch", "scrollE": ".book_switch", "scriptT": 2 } }
"360小说网 - 手机版阅读": { "host": "m.e360xs.com", "pager": { "nextL": "js;let end=fun.getXpath(\"//a[@id='btnNext' and text()='暂无下一章']\");let bn=fun.getXpath(\"//a[@id='btnNext' and text()='下一章']\");if(end){return;}else if(bn){return bn.href}else if(fun.getCSS('#btnNext[href^=javascript]')||fun.getCSS('.abcdYe[href^=javascript]')||fun.getCSS('.abcdYeT[href^=javascript]')){return ___XSXSXS}", "pageE": "//div[@class='chapter'] | //script[contains(text(),'___XSXSXS')]", "replaceE": ".book_switch", "scrollE": ".book_switch", "scriptT": 2 } }
感谢大佬tony0809,非常有用。
https://m.e360xs.com/book/150030/113304441.html 求适配