update extractor test results

pull/1431/head
Mike Fährmann 4 years ago
parent 1a540fbe00
commit ddd48ceee5
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -85,14 +85,14 @@ class EromeAlbumExtractor(EromeExtractor):
"""Extractor for albums on erome.com"""
subcategory = "album"
pattern = BASE_PATTERN + r"/a/(\w+)"
test = ("https://www.erome.com/a/KandxY7y", {
"pattern": r"https://s\d+\.erome\.com/355/KandxY7y/\w+",
"count": 26,
test = ("https://www.erome.com/a/TyFMI7ik", {
"pattern": r"https://s\d+\.erome\.com/\d+/TyFMI7ik/\w+",
"count": 9,
"keyword": {
"album_id": "KandxY7y",
"album_id": "TyFMI7ik",
"num": int,
"title": "Therealbrittfitt",
"user": "pokow",
"title": "Ryan Ryans",
"user": "xanub",
},
})
@ -103,7 +103,7 @@ class EromeAlbumExtractor(EromeExtractor):
class EromeUserExtractor(EromeExtractor):
subcategory = "user"
pattern = BASE_PATTERN + r"/(?!a/|search\?)([^/?#]+)"
test = ("https://www.erome.com/gutiquq", {
test = ("https://www.erome.com/xanub", {
"range": "1-25",
"count": 25,
})

@ -193,7 +193,7 @@ class PhilomenaGalleryExtractor(PhilomenaExtractor):
},
}),
("https://ponybooru.org/galleries/27", {
"count": 24,
"count": ">= 24",
}),
)

@ -15,7 +15,7 @@ BASE_PATTERN = r"(?:https?://)?tapas\.io"
class TapasExtractor(Extractor):
"""Extractor for manga-chapters from tapas.io"""
"""Base class for tapas.io extractors"""
category = "tapas"
root = "https://tapas.io"
directory_fmt = ("{category}", "{series[title]}", "{id} {title}")
@ -144,7 +144,7 @@ class TapasEpisodeExtractor(TapasExtractor):
"title": "You are a Tomb Raider (2)",
"unlock_cnt": 0,
"unlocked": False,
"view_cnt": 627,
"view_cnt": int,
"series": {
"genre": dict,

@ -257,9 +257,6 @@ class TumblrPostExtractor(TumblrExtractor):
("https://mikf123.tumblr.com/post/167623351559/link-post", {
"count": 2,
}),
("https://muyanna.tumblr.com/post/180692431632/answer-post", {
"count": 1,
}),
("https://mikf123.tumblr.com/post/167633596145/video-post", {
"count": 2,
}),

@ -69,7 +69,7 @@ class UnsplashImageExtractor(UnsplashExtractor):
subcategory = "image"
pattern = BASE_PATTERN + r"/photos/([^/?#]+)"
test = ("https://unsplash.com/photos/lsoogGC_5dg", {
"url": "00accb0a64d5a0df0db911f8b425892718dce524",
"url": "ac9d194f58b3fc9aacdfc9784c1b69868f212b6e",
"keyword": {
"alt_description": "re:silhouette of trees near body of water ",
"blur_hash": "LZP4uQS4jboe%#o0WCa}2doJNaaz",

@ -72,7 +72,7 @@ class WikiartArtistExtractor(WikiartExtractor):
pattern = BASE_PATTERN + r"/(?!\w+-by-)([\w-]+)/?$"
test = ("https://www.wikiart.org/en/thomas-cole", {
"url": "5ba2fbe6783fcce34e65014d16e5fbc581490c98",
"keyword": "6d92913c55675e05553f000cfee5daff0b4107cf",
"keyword": "eb5b141cf33e6d279afd1518aae24e61cc0adf81",
})
def __init__(self, match):

Loading…
Cancel
Save