Skip to content

Commit a160b00

Browse files
committed
fix
1 parent b2b56c4 commit a160b00

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

DownloadAllContent/DownloadAllContent.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// @name:zh-TW 懶人小説下載器
55
// @name:ja 怠惰者小説ダウンロードツール
66
// @namespace hoothin
7-
// @version 1.23
7+
// @version 1.25
88
// @description Fetch and download main content on current page, provide special support for chinese novel
99
// @description:zh-CN 通用网站内容抓取工具,可批量抓取小说、论坛内容等并保存为TXT文档
1010
// @description:zh-TW 通用網站內容抓取工具,可批量抓取小說、論壇內容等並保存為TXT文檔
@@ -15,7 +15,7 @@
1515
// @grant GM_registerMenuCommand
1616
// @grant GM_setValue
1717
// @grant GM_getValue
18-
// @require https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.3/FileSaver.min.js
18+
// @require https://cdn.jsdelivr.net/npm/file-saver@1.3.8/FileSaver.min.js
1919
// @license MIT License
2020
// @compatible chrome
2121
// @compatible firefox
@@ -249,7 +249,7 @@
249249
break;
250250
}
251251
}
252-
if(!has && aEle.href && /^http/i.test(aEle.href) && /PART\b|Prologue|-\d+||Chapter\s*\d+|.+[|||||||]|^$|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|[\d|||||||||||||||||-]+(||\.\D)/i.test(aEle.innerText)){
252+
if(!has && aEle.href && /^http/i.test(aEle.href) && /PART\b|Prologue|-\d+||Chapter\s*\d+|.+[||||||||||]|^$|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|||[\d|||||||||||||||||-]+(||\.\D)/i.test(aEle.innerText)){
253253
list.push(aEle);
254254
}
255255
}

0 commit comments

Comments
 (0)