From bcf29adc49694ac416d0963c71bfa9bfe11dbe23 Mon Sep 17 00:00:00 2001 From: Sorrow446 <47045733+Sorrow446@users.noreply.github.com> Date: Sat, 15 Feb 2020 21:34:01 +0000 Subject: [PATCH] Fix regex. --- mur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mur.py b/mur.py index 93f6bd6..ef82ce6 100644 --- a/mur.py +++ b/mur.py @@ -89,7 +89,7 @@ def dir_setup(tmp_dir, dl_dir): def check_url(url): regexes=[ r'http[s]://(read).marvel.com/#/book/([0-9]{5}$)', - r'http[s]://(www).marvel.com/comics/issue/([0-9]{5})/.+' + r'http[s]://(www).marvel.com/comics/issue/([0-9]+)/.+' ] for regex in regexes: match = re.match(regex, url)