add more extractor tests

for mangastream, reddit and imgur
This commit is contained in:
Mike Fährmann
2018-02-11 16:28:19 +01:00
parent b73b8b4f50
commit 20af86b2ea
3 changed files with 16 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ class MangastreamChapterExtractor(ChapterExtractor):
category = "mangastream"
pattern = [(r"(?:https?://)?(?:www\.)?(?:readms|mangastream)\.(?:com|net)/"
r"r(?:ead)?/([^/]*/([^/]+)/(\d+))")]
test = [("https://readms.net/r/onepunch_man/087/4874/1", None)]
base_url = "https://readms.net/r/"
def __init__(self, match):