Skip to content

Commit b5cc2a8

Browse files
committed
更新 [xHamster] 规则
1 parent 9563365 commit b5cc2a8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

other/Autopage/rules.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5476,14 +5476,15 @@
54765476
}
54775477
},
54785478
"xHamster": {
5479-
"host": "/xhamster(\\d+)?\\.com$/",
5480-
"url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/') && !fun.indexOF('/photos/'))",
5479+
"host": ["/^[a-z]{2}\\.xhamster\\.com$/","/^[a-z]{2}\\..*(xh).*\\.[a-z]{2,}$/"],
5480+
"url": "return ((document.title.indexOf('xHamster') > -1 || fun.getCSS('meta[name=application-name][content=xHamster]')) && !fun.indexOF('/videos/') && !fun.indexOF('/photos/gallery'))",
54815481
"blank": 3,
54825482
"pager": {
5483-
"nextL": "li.next>a",
5484-
"pageE": ".thumb-list",
5483+
"type": 3,
5484+
"nextL": "li.next>a,a[rel=next]",
5485+
"pageE": ".thumb-list,.channels-thumbs",
54855486
"replaceE": ".pager-section",
5486-
"scrollD": 2500
5487+
"scrollD": 500
54875488
}
54885489
},
54895490
"EPORNER": {

0 commit comments

Comments
 (0)