1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[mangastream] adjust regex agein (fixes #2)

This commit is contained in:
Mike Fährmann 2016-04-22 18:00:58 +02:00
parent b0c333b799
commit b5e62ec308
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -16,7 +16,8 @@ class MangaStreamExtractor(AsynchronousExtractor):
category = "mangastream"
directory_fmt = ["{category}", "{manga}", "c{chapter} - {title}"]
filename_fmt = "{manga}_c{chapter}_{page:>03}.{extension}"
pattern = [r"(?:https?://)?(?:www\.)?readms\.com/r/([^/]*/([^/]+)/(\d+))"]
pattern = [(r"(?:https?://)?(?:www\.)?(?:readms|mangastream)\.com/"
r"r(?:ead)?/([^/]*/([^/]+)/(\d+))")]
url_base = "https://readms.com/r/"
def __init__(self, match):