-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookSource
197 lines (197 loc) · 9.48 KB
/
bookSource
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
[
{
"bookSourceComment": "",
"bookSourceGroup": "yzc",
"bookSourceName": "爱宝贝-yzc",
"bookSourceType": 0,
"bookSourceUrl": "https://www.ibabyxs8.com",
"customOrder": -2085978355,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": false,
"header": "",
"lastUpdateTime": 1730183549831,
"respondTime": 4817,
"ruleBookInfo": {
"author": "[property=\"og:novel:author\"]@content",
"coverUrl": "[property=\"og:image\"]@content",
"intro": "[property=\"og:description\"]@content",
"kind": "[property=\"og:novel:category\"]@content&&[property=\"og:novel:status\"]@content&&[property=\"og:novel:update_time\"]@content",
"lastChapter": "[property=\"og:novel:lastest_chapter_name\"]@content",
"name": "[property=\"og:novel:book_name\"]@content",
"tocUrl": "text.章节目录@href"
},
"ruleContent": {
"content": "<js>\nif(/netUrl/.test(baseUrl)){\n b = source.getKey();\n url1 = String(baseUrl).replace(/netUrl\\//,'');\n page = String(java.ajax(url1)).match(/\\(第1\\/(\\d+)页\\)/)[1];\n url2 = String(url1).replace(/(\\d+).html/,\"$1_\"+page+\".html\");\n url = b+java.ajax(url2).match(/<a href=\"([^\"]+)\">下一节<\\/a>/)[1];\n java.put('url',url);\nresult=java.ajax(url);\n}\nresult\n</js>.RBGsectionThree-content p@textNodes",
"nextContentUrl": "@js:\ntry{\n\tif(/netUrl/.test(baseUrl)){\n url1 = java.get('url');\n page = String(java.ajax(url1)).match(/\\(第1\\/(\\d+)页\\)/)[1];\n // java.log(page)\nlist=[];\nif(page>=2){\nfor(var i=2;i<=page;i++){\nhref = String(url1).replace(/(\\d+).html/,\"$1_\"+i+\".html\");\nlist.push(href);\n}\n}\nlist\n}else{\n\t java.getString(\"a:contains(下一页)@href\")\n\t}\n}catch(e){}",
"sourceRegex": ""
},
"ruleExplore": {},
"ruleSearch": {
"author": "a.1@text",
"bookList": ".CGsectionTwo-right-content-unit",
"bookUrl": "a.0@href",
"checkKeyWord": "深渊",
"intro": "p.-2@text",
"kind": "p.-1@text",
"name": "a.0@text"
},
"ruleToc": {
"chapterList": "<js>\nlist=[];\nbase = source.getKey();\nlis=java.getElements('section .BCsectionTwo-top-chapter a');\nfor(i in lis){\n\turl=lis[i].attr('href');\n\t/javascript/.test(url)?url='/netUrl'+lis[i-1].attr('href'):url;\n\turl=base+url;\n\tlist.push({\"text\":lis[i].text(),\"href\":url})\n}\nlist\n</js>",
"chapterName": "text",
"chapterUrl": "href",
"formatJs": "",
"isVolume": "",
"nextTocUrl": "option@value"
},
"searchUrl": "{{cookie.removeCookie(source.getKey())}}/search,{\n \"method\": \"POST\",\n \"body\": \"searchkey={{key}}&code=12345\"\n}",
"weight": 0
},
{
"bookSourceComment": "20241029",
"bookSourceGroup": "电报yzc",
"bookSourceName": "玄幻阁-yzc",
"bookSourceType": 0,
"bookSourceUrl": "http://www.xuankuge.com",
"bookUrlPattern": "",
"customOrder": -2085978354,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"exploreUrl": "[{\"title\":\"玄幻\",\"url\":\"/sort1/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"武侠\",\"url\":\"/sort2/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"都市\",\"url\":\"/sort3/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"历史\",\"url\":\"/sort4/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"言情\",\"url\":\"/sort5/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"穿越\",\"url\":\"/sort6/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"科幻\",\"url\":\"/sort7/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"恐怖\",\"url\":\"/sort8/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"校园\",\"url\":\"/sort9/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"异界\",\"url\":\"/sort10/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"全本\",\"url\":\"/quanben/{{page}}/\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}}]",
"lastUpdateTime": 1680505076233,
"loginUrl": "",
"respondTime": 3661,
"ruleBookInfo": {
"author": "[property$=author]@content",
"coverUrl": "[property$=image]@content",
"intro": "[property$=description]@content##(^|[。!?]+[”」)】]?)##$1<br>",
"kind": "[property~=category|status|update_time]@content##\\s.*",
"lastChapter": "[property$=latest_chapter_name]@content##正文卷\\s|正文\\s",
"name": "[property$=book_name]@content",
"tocUrl": ""
},
"ruleContent": {
"content": "#content@textNodes",
"imageStyle": "0",
"replaceRegex": "##随机推荐.*|.*精华书阁.*|为您提供.*好书签.|.*免费阅读.|.*最快更新.*|\\(本章未完.*\\)"
},
"ruleExplore": {},
"ruleSearch": {
"author": "span.1@text",
"bookList": "#sitebox dl",
"bookUrl": "a.1@href",
"coverUrl": "img@src",
"intro": "dd.3@text",
"kind": "span.2:0@text",
"lastChapter": "a.2@text##正文卷\\s|正文\\s",
"name": "a.1@text",
"wordCount": "span.3@text"
},
"ruleToc": {
"chapterList": "#readerlist li a",
"chapterName": "text##正文卷\\s|正文\\s",
"chapterUrl": "href"
},
"searchUrl": "/modules/article/search.php?s={{key}}&searchtype=articlename",
"weight": 0
},
{
"bookSourceGroup": "yzc",
"bookSourceName": "阅读库-yzc",
"bookSourceType": 0,
"bookSourceUrl": "http://www.yuedsk.com",
"bookUrlPattern": "http://www.yuedsk.com/book/\\d+/",
"customOrder": -2085978170,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"exploreUrl": "玄幻·魔法::http://www.yuedsk.com/book/sort1/0/{{page}}.html\n武侠·修真::http://www.yuedsk.com/book/sort2/0/{{page}}.html\n都市·言情::http://www.yuedsk.com/book/sort3/0/{{page}}.html\n历史·军事::http://www.yuedsk.com/book/sort4/0/{{page}}.html\n穿越·架空::http://www.yuedsk.com/book/sort5/0/{{page}}.html\n游戏·竞技::http://www.yuedsk.com/book/sort6/0/{{page}}.html\n经部::http://www.yuedsk.com/book/sort11/0/{{page}}.html\n史部::http://www.yuedsk.com/book/sort12/0/{{page}}.html\n子部::http://www.yuedsk.com/book/sort13/0/{{page}}.html\n集部::http://www.yuedsk.com/book/sort14/0/{{page}}.html\n古典·名著::http://www.yuedsk.com/book/sort16/0/{{page}}.html",
"lastUpdateTime": 1690977800085,
"respondTime": 6512,
"ruleBookInfo": {
"author": "[property$=author]@content",
"coverUrl": ".divbox img@src",
"kind": "[property~=category|status]@content",
"name": "[property$=book_name]@content",
"tocUrl": ".btnlink@href"
},
"ruleContent": {
"content": "#clickeye_content@html",
"replaceRegex": "##\\(阅读库.*\\)|阅读库.+com"
},
"ruleExplore": {
"author": ".c_tag span.1@text",
"bookList": ".c_row",
"bookUrl": "a.2@href",
"coverUrl": "img@src",
"intro": ".c_description@text",
"kind": ".c_tag span.-1:-3@text",
"lastChapter": "a.3@text",
"name": "a.2@text",
"wordCount": ".c_tag span.3@text"
},
"ruleSearch": {
"author": ".c_tag span.1@text",
"bookList": ".c_row",
"bookUrl": "a.1@href",
"checkKeyWord": "",
"coverUrl": "img@src",
"kind": ".c_tag span.3:7:-1@text",
"lastChapter": ".c_value a@text",
"name": "a.1@text",
"wordCount": ".c_tag span.5@text"
},
"ruleToc": {
"chapterList": ".chapters li a",
"chapterName": "text",
"chapterUrl": "href",
"updateTime": "title"
},
"searchUrl": "http://www.yuedsk.com/modules/article/search.php?q={{key}}",
"weight": 0
},
{
"bookSourceGroup": "yzc",
"bookSourceName": "当阅读网-yzc",
"bookSourceType": 0,
"bookSourceUrl": "https://www.dangyuedu.com",
"customOrder": -2085978353,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"header": "",
"lastUpdateTime": 1722287257604,
"respondTime": 9089,
"ruleBookInfo": {
"author": "[email protected]@text",
"coverUrl": ".imgbox@img@src",
"intro": ".m-desc@ownText##(^|[。!?]+[”」)】]?)##$1<br>",
"kind": "[email protected]:2:4@text##.*:|\\s..:.*",
"lastChapter": ".section-list[0]@a.0@text##正文卷.|正文.|VIP卷.|默认卷.|卷_|VIP章节.|免费章节.|章节目录.|最新章节.|[\\((【].*?[求更票谢乐发订合补加架字修Kk].*?[】)\\)]",
"name": ".top@h1@text",
"wordCount": "[email protected]@span@text"
},
"ruleContent": {
"content": "id.content@html"
},
"ruleExplore": {},
"ruleSearch": {
"author": "span@text",
"bookList": ".item",
"bookUrl": "a.1@href",
"checkKeyWord": "",
"coverUrl": "img@src",
"intro": "dd@text",
"name": "a.1@text"
},
"ruleToc": {
"chapterList": ".section-list@li@a",
"chapterName": "text##正文卷.|正文.|VIP卷.|默认卷.|卷_|VIP章节.|免费章节.|章节目录.|最新章节.|[\\((【].*?[求更票谢乐发订合补加架字修Kk].*?[】)\\)]",
"chapterUrl": "href",
"nextTocUrl": "option@value||text.下一页@href"
},
"searchUrl": "https://www.sososhu.com/?q={{key}}&site=dangyuedu&Submit=搜索,{'webView': true}",
"weight": 88
}
]