update extraction result tests

This commit is contained in:
Mike Fährmann
2019-02-02 15:37:54 +01:00
parent 197d0e99a4
commit 22d7a783d5
2 changed files with 6 additions and 6 deletions

View File

@@ -117,13 +117,13 @@ class PhotobucketImageExtractor(Extractor):
test = [ test = [
(("http://s271.photobucket.com/user/lakerfanryan" (("http://s271.photobucket.com/user/lakerfanryan"
"/media/Untitled-3-1.jpg.html"), { "/media/Untitled-3-1.jpg.html"), {
"url": "256fe63bee84762f92337e963ec0baa27bba87e2", "url": "3b647deeaffc184cc48c89945f67574559c9051f",
"keyword": "81fbe6f5f821a2d20dabb931726ab9e7565ba96d", "keyword": "a2de4e60d584912537b8025c01bdd1d20bdea735",
}), }),
(("http://s271.photobucket.com/user/lakerfanryan" (("http://s271.photobucket.com/user/lakerfanryan"
"/media/IsotopeswBros.jpg.html?sort=3&o=2"), { "/media/IsotopeswBros.jpg.html?sort=3&o=2"), {
"url": "44e644e29a564398fcb2fd8edce738696afe7208", "url": "12c1890c09c9cdb8a88fba7eec13f324796a8d7b",
"keyword": "6addb30d6db6d7c3222761ade37c0bded67e5783", "keyword": "61200a223df6c06f45ac3d30c88b3f5b048ce9a8",
}), }),
] ]

View File

@@ -90,8 +90,8 @@ class WallhavenSearchExtractor(WallhavenExtractor):
test = [ test = [
("https://alpha.wallhaven.cc/search?q=touhou", None), ("https://alpha.wallhaven.cc/search?q=touhou", None),
(("https://alpha.wallhaven.cc/search?q=id%3A87" (("https://alpha.wallhaven.cc/search?q=id%3A87"
"&categories=111&purity=100&sorting=relevance&order=desc&page=3"), { "&categories=111&purity=100&sorting=date_added&order=asc&page=3"), {
"url": "1b9b6d97b9670e32ef5dd6942a095549ab543d91", "url": "29b54803e3fae5e337fdd29d47d51302d78bec9a",
"range": "1-3", "range": "1-3",
}), }),
] ]