File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,18 @@ crawler = new CeL.work_crawler({
201201 // 去除掉 <script> 功能碼。
202202 . replace ( / < s c r i p t [ ^ < > ] * > [ ^ < > ] * < \/ s c r i p t > / g, '' ) ;
203203
204+ /**
205+ * <code>
206+
207+ // https://www.piaotia.com/html/14/14466/9767526.html 女主从书里跑出来了怎么办 第三十三章 有什么不好
208+ <!--go--> 那边
209+ 你了解我多少?”<!--over--><br /><br />
210+
211+ </code>
212+ */
213+ // text = text.replace(/(?: )*<!--go-->/g, '');
214+ text = text . replace ( / < ! - - [ \w \s ] * - - > / g, '' ) ;
215+
204216 // ----------------------------
205217
206218 // 有些章節會先以章節標題起頭。
@@ -334,6 +346,16 @@ crawler = new CeL.work_crawler({
334346 */
335347 . replace ( / 谷 \/ s p a n > / g, '' )
336348
349+ /**
350+ * <code>
351+
352+ // https://www.piaotia.com/html/11/11613/8651816.html 剑仙三千万 第三百九十章 玄黄星至强
353+ 说完 ,他又想到了什么,
354+
355+ </code>
356+ */
357+ . replace ( / 完 ( \S ) / g, '完$1' )
358+
337359 /**
338360 * <code>
339361
You can’t perform that action at this time.
0 commit comments