Skip to content

Commit ad3eec9

Browse files
committed
新增 [Codeberg]、[Github Org Repositories]、[包子漫画] 支持; 补充 [nhentai] 其他域名
1 parent 3994254 commit ad3eec9

1 file changed

Lines changed: 26 additions & 6 deletions

File tree

other/Autopage/rules.json

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,6 +3295,16 @@
32953295
"replaceE": ".next_chapter, .bottom-bar, .header .title"
32963296
}
32973297
},
3298+
"包子漫画org": {
3299+
"host": "baozimh.org",
3300+
"url": "/^\\/manga\\//",
3301+
"pager": {
3302+
"nextL": "//span[@class='btn_chapter_pagination' and text()='下一话']/..",
3303+
"pageE": ".gb-inside-container>img[data-src]",
3304+
"replaceE": "#pagenation",
3305+
"scrollD": 500
3306+
}
3307+
},
32983308
"乐语漫画": {
32993309
"host": "www.leyuman.com",
33003310
"url": "/^\\/comic\\/\\d+\\/\\d+\\.html$/",
@@ -4700,12 +4710,12 @@
47004710
"scrollD": 2500
47014711
}
47024712
},
4703-
"Github - Issues/Pull/Discussions/Releases/Actions": {
4713+
"Github - Issues/Pull/Discussions/Releases/Actions/OrgRepositories": {
47044714
"host": "github.com",
4705-
"url": "return (fun.indexOF(/\\/(issues|pulls|discussions|releases)$/) || fun.indexOF('/discussions/categories') || fun.indexOF(/\\/actions($|\\/workflows)/))",
4715+
"url": "return (fun.indexOF(/\\/(issues|pulls|discussions|releases)$/) || fun.indexOF('/discussions/categories') || fun.indexOF(/\\/actions($|\\/workflows)/) || fun.indexOF(/^\\/orgs\\/.+\\/repositories/))",
47064716
"pager": {
47074717
"nextL": "a.next_page",
4708-
"pageE": "div[id^='issue_'], ul[aria-labelledby='discussions-list']>li, #repo-content-pjax-container>div>div[data-pjax]>section, div[id^='check_suite_']",
4718+
"pageE": "div[id^='issue_'], ul[aria-labelledby='discussions-list']>li, #repo-content-pjax-container>div>div[data-pjax]>section, div[id^='check_suite_'], #org-repositories li.Box-row",
47094719
"replaceE": ".pagination",
47104720
"scrollD": 2500
47114721
}
@@ -4749,6 +4759,16 @@
47494759
"replaceE": ".pagination"
47504760
}
47514761
},
4762+
"Codeberg": {
4763+
"host": "codeberg.org",
4764+
"url": "return (fun.indexOF(/^\\/explore\\/.+/) || fun.indexOF(/\\/(issues|pulls|releases|tags)$/) || fun.indexOF(/\\/commits\\/branch\\/.+/))",
4765+
"blank": 3,
4766+
"pager": {
4767+
"nextL": ".pagination>.active+.item",
4768+
"pageE": ".repository.list>.item, .user.list>.item, .issue.list>.item, #release-list>li, tbody.tag-list>tr, tbody.commit-list>tr",
4769+
"replaceE": ".pagination"
4770+
}
4771+
},
47524772
"OI-Wiki": {
47534773
"host": "oi-wiki.org",
47544774
"style": "blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;}",
@@ -6031,11 +6051,11 @@
60316051
}
60326052
},
60336053
"nhentai": {
6034-
"host": ["nhentai.net","nhentai.to"],
6035-
"url": "return fun.getCSS('a.next') && (fun.getCSS('.gallery, #image-container'))",
6054+
"host": ["nhentai.net","nhentai.to","nhentai.xxx"],
6055+
"url": "return fun.getCSS('a.next, .current+a.page') && (fun.getCSS('.gallery, #image-container'))",
60366056
"blank": 3,
60376057
"pager": {
6038-
"nextL": "a.next",
6058+
"nextL": "a.next, .current+a.page",
60396059
"pageE": ".container>.gallery, .gallery-favorite, #image-container img",
60406060
"replaceE": ".pagination, .reader-pagination"
60416061
},

0 commit comments

Comments
 (0)