From 78dfa16b5373f3d5ab584f886606abfb0c30a92a Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Tue, 26 Feb 2019 08:45:41 -0600 Subject: [PATCH] comicextra: get full chapter --- comicextra.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comicextra.user.js b/comicextra.user.js index 4a6be8a..94a4b88 100644 --- a/comicextra.user.js +++ b/comicextra.user.js @@ -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]; }