Skip to content

Commit

Permalink
[mangastream] adjust regex agein (fixes #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Apr 22, 2016
1 parent b0c333b commit b5e62ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/extractor/mangastream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b5e62ec

Please sign in to comment.