Greasy Fork 支持简体中文。

自動無縫翻頁

⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流,无限滚动,無需手働點擊下一頁)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~

< 腳本自動無縫翻頁的回應

評論:正評 - 腳本一切正常

§
發表於:2022-09-13

请问为什么规则这样写,翻一页之后就没有反应了,不能一直翻下去,是否是翻页基准错误?我看主控台并没有报错。
可是既然都能翻一页了,下一页的图片页码都有获取到,代表下一页的元素和翻页基准元素设置应该没错吧。
xchina.co/photoShow.php?server=2&id=6320275139664&index=0&pageSize=19&title=【秀人网】Vol.+5519+婠婠么

    "小黄书 原图": {
        "host": "/(tw|kr)?(\\.)?xchina\\.co/",
        "url": "/^\\/photoShow\\.php/",
        "style": ".container>img {max-width: 99% !important;display: block !important;margin: 0 auto !important;}",
        "pager": {
            "type": 3,
            "nextL": ".image>a:not([href^='j']):nth-child(4)",
            "pageE": ".container>img",
            "replaceE": ".index",
            "scrollE": ".ad",
            "scrollD": 4000
        }
    }
§
發表於:2022-09-13
編輯:2022-09-13

没事了,问题解决了,含下一页的元素也要取过来替换掉。

    "小黄书 - 搜索": {
        "host": "/(tw|kr)?(\\.)?xchina\\.co/",
        "url": "/^\\/search\\/.+\\/.*\\.html$/",
        "pager": {
            "nextL": "a.next",
            "pageE": ".list",
            "replaceE": ".pager",
            "scrollD": 10000
        }
    },
    "小黄书 - 清单": {
        "host": "/(tw|kr)?(\\.)?xchina\\.co/",
        "url": "/^\\/photo\\//",
        "style": ".photos > div.item {display: none !important;}",
        "pager": {
            "nextL": "a.next",
            "pageE": ".photos > a",
            "replaceE": ".pager",
            "scrollD": 10000
        }
    },
    "小黄书 - 原图": {
        "host": "/(tw|kr)?(\\.)?xchina\\.co/",
        "url": "/^\\/photoShow\\.php/",
        "style": ".container>img {max-width: 99% !important;display: block !important;margin: 0 auto !important;}",
        "pager": {
            "type": 3,
            "nextL": ".image>a:not([href^='j']):nth-child(4)",
            "pageE": ".container>img",
            "replaceE": ".index,.image>a:not([href^='j']):nth-child(4)",
            "scrollE": ".ad",
            "scrollD": 10000
        }
    },
    "小黄书 - 分类": {
        "host": "/(tw|kr)?(\\.)?xchina\\.co/",
        "url": "/^\\/(photos|videos|models)(\\/|\\.html)/",
        "pager": {
            "nextL": "a.next",
            "pageE": ".list>.item,.videos",
            "replaceE": ".pager",
            "scrollD": 10000
        }
    }

發表回覆

登入以回復