update test results

This commit is contained in:
Mike Fährmann
2019-10-21 21:53:21 +02:00
parent 2057c6ba29
commit ef17d94469
4 changed files with 7 additions and 8 deletions

View File

@@ -150,7 +150,7 @@ class SexcomRelatedPinExtractor(SexcomPinExtractor):
directory_fmt = ("{category}", "related {original_pin[pin_id]}") directory_fmt = ("{category}", "related {original_pin[pin_id]}")
pattern = r"(?:https?://)?(?:www\.)?sex\.com/pin/(\d+).*#related$" pattern = r"(?:https?://)?(?:www\.)?sex\.com/pin/(\d+).*#related$"
test = ("https://www.sex.com/pin/56714360/#related", { test = ("https://www.sex.com/pin/56714360/#related", {
"count": 24, "count": ">= 22",
}) })
def metadata(self): def metadata(self):

View File

@@ -84,12 +84,12 @@ class SimplyhentaiImageExtractor(Extractor):
test = ( test = (
(("https://www.simply-hentai.com/image" (("https://www.simply-hentai.com/image"
"/pheromomania-vol-1-kanzenban-isao-3949d8b3-400c-4b6"), { "/pheromomania-vol-1-kanzenban-isao-3949d8b3-400c-4b6"), {
"url": "0338eb137830ab6f81e5f410d3936ef785d063d9", "url": "3d8eb55240a960134891bd77fe1df7988fcdc455",
"keyword": "e10e5588481cab68329ef6ec1e5325206b2079a2", "keyword": "e10e5588481cab68329ef6ec1e5325206b2079a2",
}), }),
("https://www.simply-hentai.com/gif/8915dfcf-0b6a-47c", { ("https://www.simply-hentai.com/gif/8915dfcf-0b6a-47c", {
"url": "11c060d7ec4dfd0bd105300b6e1fd454674a5af1", "url": "f73916527211b4a40f26568ee26cd8999f5f4f30",
"keyword": "dd97a4bb449c397d6fec9f43a1303c0fb168ae65", "keyword": "f94d775177fed918759c8a78a50976f867425b48",
}), }),
) )

View File

@@ -168,7 +168,6 @@ class TwitterTimelineExtractor(TwitterExtractor):
) )
def tweets(self): def tweets(self):
url = "{}/i/profiles/show/{}/timeline/tweets".format( url = "{}/i/profiles/show/{}/timeline/tweets".format(
self.root, self.user) self.root, self.user)
return self._tweets_from_api(url) return self._tweets_from_api(url)
@@ -237,7 +236,7 @@ class TwitterTweetExtractor(TwitterExtractor):
# content with emoji, newlines, hashtags (#338) # content with emoji, newlines, hashtags (#338)
("https://twitter.com/yumi_san0112/status/1151144618936823808", { ("https://twitter.com/yumi_san0112/status/1151144618936823808", {
"options": (("content", True),), "options": (("content", True),),
"keyword": "b13b6c4cd0b0c15b2ea7685479e7fedde3c47b9e", "keyword": "b133464b73aec33871521ab021a3166204194285",
}), }),
# Reply to another tweet (#403) # Reply to another tweet (#403)
("https://twitter.com/tyson_hesse/status/1103767554424598528", { ("https://twitter.com/tyson_hesse/status/1103767554424598528", {

View File

@@ -33,8 +33,8 @@ class WallhavenSearchExtractor(WallhavenExtractor):
("https://wallhaven.cc/search?q=touhou"), ("https://wallhaven.cc/search?q=touhou"),
(("https://wallhaven.cc/search?q=id%3A87" (("https://wallhaven.cc/search?q=id%3A87"
"&categories=111&purity=100&sorting=date_added&order=asc&page=3"), { "&categories=111&purity=100&sorting=date_added&order=asc&page=3"), {
"count": 4, "count": 5,
"url": "d024bc11895d758b76ffdb0fa85a627e53f072cf", "url": "d477b68a534c3416d506ae1f159b25debab64678",
}), }),
) )