AutoPager

⭐Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page) ⭐, support various forums, social networking, games, comics, novels, academics, search engines (Google, Bing, Yahoo...) and other websites~

< Feedback on AutoPager

Review: Good - script works

§
Posted: 02. 10. 2022

请求支持:https://www.amazon.co.uk/ 感谢!

X.I.UAuthor
§
Posted: 03. 10. 2022
Edited: 03. 10. 2022

亚马逊域名也太多了,脚本外置翻页规则里只加了个别几个亚马逊国别域名,我直接拿出规则,你自行增删域名吧。

复制粘贴到脚本 自定义翻页规则 默认的 { } 中间保存(浏览器右上角 Tampermonkey 扩展图标内的脚本菜单)

    "Amazon": {
        "host": ["www.amazon.com","www.amazon.cn","www.amazon.es","www.amazon.co.jp","www.amazon.co.uk"],
        "url": "/\\/s\\?/",
        "pager": {
            "type": 3,
            "nextL": "a.s-pagination-next",
            "pageE": ".s-result-item[data-component-type='s-search-result']",
            "replaceE": ".s-pagination-container"
        }
    }
X.I.UAuthor
§
Posted: 03. 10. 2022

我去亚马逊官网看了下写的有所有国别域名,干脆写成正则全部匹配好了:

    "Amazon": {
        "host": "/^www\\.amazon\\.([a-z]+|com?\\.[a-z]+)$/",
        "url": "/\\/s\\?/",
        "pager": {
            "type": 3,
            "nextL": "a.s-pagination-next",
            "pageE": ".s-result-item[data-component-type='s-search-result']",
            "replaceE": ".s-pagination-container"
        }
    }
§
Posted: 03. 10. 2022

实测有效!感谢大佬

Post reply

Sign in to post a reply.