Skip to content

Commit

Permalink
v2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasimi committed Jul 18, 2020
1 parent 18c3fff commit c487dfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion novel.cmn-Hans-CN/qidian.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var crawler = new CeL.work_crawler({
while ((text = get_next_between()) !== undefined) {
// 從URL網址中解析出作品id。
var matched = text.match(
//
//
/<a [^<>]*?href="[^<>"]+?\/(\d+)"[^<>]*>(.+?)<\/a>/);
id_list.push(matched[1]);
id_data.push(get_label(matched[2]));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name" : "work_crawler",
"title" : "CeJS online novels and comics downloader",
"version" : "v2.8.0",
"version" : "v2.9.0",
"description" : "A tool using CeJS library to download online novels / comics.",
"keywords" : [ "comic-downloader", "novel-downloader", "cejs",
"downloader", "download-comic", "epub", "ebook", "comics",
Expand Down
5 changes: 3 additions & 2 deletions work_crawler.updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ function fetch_url(url, callback) {
// network error?
// console.error(e);
throw e;
callback(null, e);
if (typeof callback === 'function')
callback(null, e);
});
}

Expand All @@ -82,7 +83,7 @@ function download_update_tool(update_script_url, callback) {

// ----------------------------------------------------------------------------

download_update_tool(update_script_url, function(update_script_name) {
download_update_tool(update_script_url, function(update_script_name, error) {
update_CeJS(update_script_name, update_finished);
});

Expand Down

0 comments on commit c487dfe

Please sign in to comment.