mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
update unittests for batoto and yonkouprod
This commit is contained in:
parent
041c70a3e1
commit
98d6d131a3
@ -58,8 +58,8 @@ class BatotoMangaExtractor(BatotoExtractor):
|
||||
"""Extractor for mangas from bato.to"""
|
||||
subcategory = "manga"
|
||||
pattern = [r"(?:https?://)?(?:www\.)?bato\.to/comic/_/comics/.*-r\d+"]
|
||||
test = [("http://bato.to/comic/_/comics/cashero-r18146", {
|
||||
"url": "8bcf5541a45b900865c399399974048b0e0dfc53",
|
||||
test = [("http://bato.to/comic/_/comics/aria-r2007", {
|
||||
"url": "a38585b0339587666d772ee06f2a60abdbf42a97",
|
||||
})]
|
||||
|
||||
def __init__(self, match):
|
||||
|
@ -17,7 +17,7 @@ class YonkouprodChapterExtractor(FoolslideChapterExtractor):
|
||||
r"[^/]+/([a-z]{2})/\d+/\d+)")]
|
||||
test = [("http://yonkouprod.com/reader/read/fairy-tail/en/0/512/", {
|
||||
"url": "7647850e2b1ad11c2baa9628755bf7f186350a0b",
|
||||
"keyword": "2e3519670694bd851149f8004a00320b9e962044",
|
||||
"keyword": "d079c718d6620478fa72a700fdd027f9a0f0760b",
|
||||
})]
|
||||
|
||||
def __init__(self, match):
|
||||
|
Loading…
Reference in New Issue
Block a user