-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #300: add 批量下載 漫画看 的工具。 Download MHkan.Com comics.
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* 批量下載 漫画看 的工具。 Download MHkan.Com comics. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
require('../work_crawler_loder.js'); | ||
|
||
// ---------------------------------------------------------------------------- | ||
|
||
CeL.run('application.net.work_crawler.SinMH'); | ||
|
||
// ---------------------------------------------------------------------------- | ||
|
||
var crawler = CeL.SinMH({ | ||
// 循序逐個、一個個下載圖像。僅對漫畫有用,對小說無用。小說章節皆為逐個下載。 Download images one by one. | ||
// 水管太小?總是卡住,下載圖片時常出現 status 522,很難用。 | ||
// one_by_one : true, | ||
|
||
// 當網站不允許太過頻繁的訪問/access時,可以設定下載之前的等待時間(ms)。 | ||
// 模仿實際人工請求。 | ||
// chapter_time_interval : '1s', | ||
|
||
base_URL : 'https://www.mhkan.com/' | ||
}); | ||
|
||
// ---------------------------------------------------------------------------- | ||
|
||
// CeL.set_debug(3); | ||
|
||
start_crawler(crawler, typeof module === 'object' && module); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters