update tests

This commit is contained in:
Mike Fährmann
2016-12-12 14:17:15 +01:00
parent 69cde97c93
commit 4c55275305
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ class InfinitychanThreadExtractor(chan.ChanThreadExtractor):
pattern = [r"(?:https?://)?(?:www\.)?8ch\.net/([^/]+)/res/(\d+)"]
test = [("https://8ch.net/tg/res/175887.html", {
"url": "646d4230b40f9cff3f8674e3efe44bba3af4924b",
"keyword": "cdb061d01e415631b79649d297dd7f995d48f8c4",
"keyword": "923a6abc046cb618af8f9fd3bbb63c4cd6d73542",
"content": "81e21a3cc87f64f224a966f207e8e1731216c345",
})]
api_url = "https://8ch.net/{board}/res/{thread}.json"

View File

@@ -48,8 +48,8 @@ class MangahereChapterExtractor(AsynchronousExtractor):
pattern = [(r"(?:https?://)?(?:www\.)?mangahere\.co/manga/"
r"([^/]+(?:/v0*(\d+))?/c0*(\d+)(\.\d+)?)")]
test = [("http://www.mangahere.co/manga/dongguo_xiaojie/c003.2/", {
"url": "68efaeed3bc6abb0a0b6f75a5c649c17979e31f1",
"keyword": "d3fe470e934a9f02ed00d4391b1743970eae82fa",
"content": "dd8454469429c6c717cbc3cad228e76ef8c6e420",
})]
url_fmt = "http://www.mangahere.co/manga/{}/{}.html"

View File

@@ -34,7 +34,7 @@ class MangamintMangaExtractor(MangamintExtractor):
"url": "df7a1f4224d23e392ec09d4c7bbd4fbc873327d0",
}),
("https://www.mangamint.com/manga/gosu-manhwa", {
"url": "b58bae06a8d14c1f11f518fef2dc99aeb6ee3ee4",
"url": "555a2e42a1e10c54ce3439090807af9c2354d890",
}),
]