Fix regex.
This commit is contained in:
parent
0d6eec8dff
commit
bcf29adc49
2
mur.py
2
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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user