1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 11:12:40 +01:00

update extractor test results

This commit is contained in:
Mike Fährmann 2020-08-03 21:57:00 +02:00
parent 422e69f187
commit 19bf76bcf8
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
3 changed files with 5 additions and 9 deletions

View File

@ -132,14 +132,10 @@ class ImgbbAlbumExtractor(ImgbbExtractor):
"url": "ac0abcfcb89f4df6adc2f7e4ff872f3b03ef1bc7", "url": "ac0abcfcb89f4df6adc2f7e4ff872f3b03ef1bc7",
"keyword": {"user": ""}, "keyword": {"user": ""},
}), }),
# deleted
("https://ibb.co/album/fDArrF", {
"exception": exception.NotFoundError,
}),
# private # private
("https://ibb.co/album/hqgWrF", { ("https://ibb.co/album/hqgWrF", {
"exception": exception.HttpError, "exception": exception.HttpError,
}) }),
) )
def __init__(self, match): def __init__(self, match):

View File

@ -95,8 +95,8 @@ class PahealPostExtractor(PahealExtractor):
pattern = (r"(?:https?://)?(?:rule34|rule63|cosplay)\.paheal\.net" pattern = (r"(?:https?://)?(?:rule34|rule63|cosplay)\.paheal\.net"
r"/post/view/(\d+)") r"/post/view/(\d+)")
test = ("https://rule34.paheal.net/post/view/481609", { test = ("https://rule34.paheal.net/post/view/481609", {
"url": "1142779378f655ec0497d4c301836aa667f788b1", "url": "d3fd0f82762716fe3fb03c9c923e61c13ce22204",
"keyword": "34e9e93d4fa6fa06fac1a56e78c9a52e8cd7b271", "keyword": "35748081bfeaab48f909f4b097a4d79b2be12538",
"content": "7b924bcf150b352ac75c9d281d061e174c851a11", "content": "7b924bcf150b352ac75c9d281d061e174c851a11",
}) })

View File

@ -112,13 +112,13 @@ class SmugmugImageExtractor(SmugmugExtractor):
test = ( test = (
("https://tdm.smugmug.com/Nature/Dove/i-kCsLJT6", { ("https://tdm.smugmug.com/Nature/Dove/i-kCsLJT6", {
"url": "f624ad7293afd6412a7d34e3950a118596c36c85", "url": "f624ad7293afd6412a7d34e3950a118596c36c85",
"keyword": "085861b5935e3cd96ad15954039bc2419cdf1c27", "keyword": "d69c69c1517b8ea77bc763cffc4d0a4002dfee3f",
"content": "ecbd9d7b4f75a637abc8d35319be9ec065a44eb0", "content": "ecbd9d7b4f75a637abc8d35319be9ec065a44eb0",
}), }),
# video # video
("https://tstravels.smugmug.com/Dailies/Daily-Dose-2015/i-39JFNzB", { ("https://tstravels.smugmug.com/Dailies/Daily-Dose-2015/i-39JFNzB", {
"url": "04d0ab1ff829ca7d78f5acb5548953df08e9a5ee", "url": "04d0ab1ff829ca7d78f5acb5548953df08e9a5ee",
"keyword": "e0927fda7b1c39c19974625270102ad7e72b9d6f", "keyword": "720da317232504f05099da37802ed3c3ce3cd310",
}), }),
) )