update extractor test results

This commit is contained in:
Mike Fährmann
2021-03-28 23:06:44 +02:00
parent 1a540fbe00
commit ddd48ceee5
6 changed files with 12 additions and 15 deletions

View File

@@ -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,
})