update extractor test results

This commit is contained in:
Mike Fährmann
2020-12-27 17:41:08 +01:00
parent 47a7a51944
commit 912eea29bc
4 changed files with 7 additions and 6 deletions

View File

@@ -231,12 +231,13 @@ class JoyreactorSearchExtractor(ReactorSearchExtractor):
category = "joyreactor"
pattern = JR_BASE_PATTERN + r"/search(?:/|\?q=)([^/?#]+)"
test = (
("http://joyreactor.cc/search/Cirno+Gifs", {
("http://joyreactor.cc/search/Cirno", {
"range": "1-25",
"count": ">= 20",
}),
("http://joyreactor.com/search?q=Cirno+Gifs", {
"count": 0, # no search results on joyreactor.com
("http://joyreactor.com/search?q=Cirno", {
"range": "1-25",
"count": ">= 20",
}),
)

View File

@@ -47,7 +47,7 @@ class WebtoonsEpisodeExtractor(WebtoonsExtractor):
(("https://www.webtoons.com/en/comedy/safely-endangered"
"/ep-572-earth/viewer?title_no=352&episode_no=572"), {
"url": "11041d71a3f92728305c11a228e77cf0f7aa02ef",
"content": "4f7701a750368e377d65900e6e8f64a5f9cb9c86",
"content": "1ce950324f14018b691c42b0ede57fa25618abeb",
"count": 5,
}),
)

View File

@@ -116,7 +116,7 @@ class WikiartArtistsExtractor(WikiartExtractor):
pattern = (BASE_PATTERN + r"/artists-by-([\w-]+)/([\w-]+)")
test = ("https://www.wikiart.org/en/artists-by-century/12", {
"pattern": WikiartArtistExtractor.pattern,
"count": 7,
"count": ">= 8",
})
def __init__(self, match):