comicextra: get full chapter
This commit is contained in:
parent
076edd0aa3
commit
78dfa16b53
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
// ==UserScript==
|
||||
// @name Comic Extra Scraper
|
||||
// @namespace danielrayjones
|
||||
// @version 0.0.2
|
||||
// @version 0.0.3
|
||||
// @description Scrape comics from comicextra.com
|
||||
// @author Dan Jones
|
||||
// @match https://www.comicextra.com/*
|
||||
|
|
@ -42,7 +42,7 @@ console.log('will scrape comics');
|
|||
|
||||
let chapter = path.pop();
|
||||
let match;
|
||||
if ((match = chapter.match(/^chapter-([0-9])+/))) {
|
||||
if ((match = chapter.match(/^chapter-([0-9]+)/))) {
|
||||
chapter = match[1];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue