Skip to content

Commit d8c0682

Browse files
committed
2024/11/29: 'book/'
1 parent a058425 commit d8c0682

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

novel.cmn-Hans-CN/69shu.js

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ var crawler = new CeL.work_crawler({
107107

108108
// 取得作品的章節資料。 get_work_data()
109109
work_URL : function(work_id) {
110-
return 'txt/' + work_id + '.htm';
110+
// 2024/8: 'txt/'
111+
// 2024/11/29: 'book/'
112+
return 'book/' + work_id + '.htm';
111113
},
112114
parse_work_data : function(html, get_label, extract_work_data) {
113115
// console.trace(html);
@@ -230,6 +232,37 @@ var crawler = new CeL.work_crawler({
230232

231233
text = CeL.work_crawler.fix_general_ADs(text);
232234

235+
/**
236+
* <code>
237+
238+
// https://69shuba.cx/txt/52895/34444656 第1章 我绑定了修仙模拟器
239+
<p>原文在六#9@书/吧看!</p>
240+
241+
</code>
242+
*/
243+
text = text.replace(/(?:<p>)?[^<>]{1,10}(?:<\/p>)?/g, '');
244+
245+
/**
246+
* <code>
247+
248+
// https://69shuba.cx/txt/52895/39004157 别人练级我修仙,苟到大乘再出山 > 新书《我在高武时代掀起修仙狂潮》
249+
<p>请...您....收藏_6Ⅰ9Ⅰ书Ⅰ吧(六\\\九\\\书\\\吧!)</p>
250+
251+
</code>
252+
*/
253+
text = text.replace(/<p>[._\\|]*[._\\|]*[^<>]*?[^<>]*?<\/p>/g,
254+
'');
255+
256+
/**
257+
* <code>
258+
259+
// https://69shuba.cx/txt/52895/39004157 别人练级我修仙,苟到大乘再出山 > 新书《我在高武时代掀起修仙狂潮》
260+
<p>无一错一首一发一内一容一在一6一9一书一吧一看!</p>
261+
262+
</code>
263+
*/
264+
text = text.replace(/<p>[^<>]*?<\/p>/g, '');
265+
233266
/**
234267
* <code>
235268

0 commit comments

Comments
 (0)