mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
update extractor test results
This commit is contained in:
parent
334d690687
commit
bdfcc9c4b1
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2016-2020 Mike Fährmann
|
||||
# Copyright 2016-2021 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -101,9 +101,6 @@ class LusciousAlbumExtractor(LusciousExtractor):
|
||||
"number_of_favorites": int,
|
||||
},
|
||||
}),
|
||||
("https://luscious.net/albums/virgin-killer-sweater_282582/", {
|
||||
"url": "0be0cc279be1de99f727764819e03435e2a79915",
|
||||
}),
|
||||
("https://luscious.net/albums/not-found_277035/", {
|
||||
"exception": exception.NotFoundError,
|
||||
}),
|
||||
|
@ -92,7 +92,7 @@ class ManganeloMangaExtractor(ManganeloBase, MangaExtractor):
|
||||
r"(/(?:manga/|read_)\w+)")
|
||||
test = (
|
||||
("https://manganelo.com/manga/ol921234", {
|
||||
"url": "8a1810edddbafcde993ecb3558a35c99d8d4f13e",
|
||||
"url": "6ba7f083a6944e414ad8214b74a0a40cb60d4562",
|
||||
}),
|
||||
("https://manganelo.com/manga/read_otome_no_teikoku", {
|
||||
"pattern": ManganeloChapterExtractor.pattern,
|
||||
|
@ -107,11 +107,11 @@ class PhilomenaPostExtractor(PhilomenaExtractor):
|
||||
"source_url": "https://www.deviantart.com/speccysy/art"
|
||||
"/Afternoon-Flight-215193985",
|
||||
"spoilered": False,
|
||||
"tag_count": 36,
|
||||
"tag_count": 37,
|
||||
"tag_ids": list,
|
||||
"tags": list,
|
||||
"thumbnails_generated": True,
|
||||
"updated_at": "2020-05-28T13:14:07Z",
|
||||
"updated_at": "2021-04-07T06:01:30Z",
|
||||
"uploader": "Clover the Clever",
|
||||
"uploader_id": 211188,
|
||||
"upvotes": int,
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2018-2020 Mike Fährmann
|
||||
# Copyright 2018-2021 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -117,7 +117,6 @@ class PiczelImageExtractor(PiczelExtractor):
|
||||
"description": None,
|
||||
"extension": "png",
|
||||
"favorites_count": int,
|
||||
"folder": dict,
|
||||
"folder_id": 1113,
|
||||
"id": 7807,
|
||||
"is_flash": False,
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2019-2020 Mike Fährmann
|
||||
# Copyright 2019-2021 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -29,10 +29,10 @@ class PururinGalleryExtractor(GalleryExtractor):
|
||||
"artist" : ["Shoda Norihiro"],
|
||||
"group" : ["Obsidian Order"],
|
||||
"parody" : ["Kantai Collection"],
|
||||
"characters": ["Admiral", "Iowa"],
|
||||
"characters": ["Iowa", "Teitoku"],
|
||||
"tags" : list,
|
||||
"type" : "Doujinshi",
|
||||
"collection": "",
|
||||
"collection": "I owant you!",
|
||||
"convention": "C92",
|
||||
"rating" : float,
|
||||
"uploader" : "demo",
|
||||
|
@ -147,9 +147,9 @@ class SankakuPostExtractor(SankakuExtractor):
|
||||
"content": "5e255713cbf0a8e0801dc423563c34d896bb9229",
|
||||
"options": (("tags", True),),
|
||||
"keyword": {
|
||||
"tags_artist": ["bonocho"],
|
||||
"tags_studio": ["dc_comics"],
|
||||
"tags_medium": ["sketch", "copyright_name"],
|
||||
"tags_artist" : ["bonocho"],
|
||||
"tags_studio" : ["dc_comics"],
|
||||
"tags_medium" : list,
|
||||
"tags_copyright": list,
|
||||
"tags_character": list,
|
||||
"tags_general" : list,
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2018-2020 Mike Fährmann
|
||||
# Copyright 2018-2021 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -71,7 +71,7 @@ class SmugmugAlbumExtractor(SmugmugExtractor):
|
||||
pattern = r"smugmug:album:([^:]+)$"
|
||||
test = (
|
||||
("smugmug:album:cr4C7f", {
|
||||
"url": "1436ee98d5797b308ecce5862e4885944f59c03c",
|
||||
"url": "2c2e576e47d4e9ce60b44871f08a8c66b5ebaceb",
|
||||
}),
|
||||
# empty
|
||||
("smugmug:album:Fb7hMs", {
|
||||
@ -111,8 +111,8 @@ class SmugmugImageExtractor(SmugmugExtractor):
|
||||
pattern = BASE_PATTERN + r"(?:/[^/?#]+)+/i-([^/?#-]+)"
|
||||
test = (
|
||||
("https://tdm.smugmug.com/Nature/Dove/i-kCsLJT6", {
|
||||
"url": "f624ad7293afd6412a7d34e3950a118596c36c85",
|
||||
"keyword": "d69c69c1517b8ea77bc763cffc4d0a4002dfee3f",
|
||||
"url": "e6408fd2c64e721fd146130dceb56a971ceb4259",
|
||||
"keyword": "05c8d50aa6ea08d458f83c38d7f9e92148362f0e",
|
||||
"content": "ecbd9d7b4f75a637abc8d35319be9ec065a44eb0",
|
||||
}),
|
||||
# video
|
||||
|
@ -69,7 +69,7 @@ class UnsplashImageExtractor(UnsplashExtractor):
|
||||
subcategory = "image"
|
||||
pattern = BASE_PATTERN + r"/photos/([^/?#]+)"
|
||||
test = ("https://unsplash.com/photos/lsoogGC_5dg", {
|
||||
"url": "ac9d194f58b3fc9aacdfc9784c1b69868f212b6e",
|
||||
"url": "b99a5829ca955b768a206aa9afc391bd3f3dd55e",
|
||||
"keyword": {
|
||||
"alt_description": "re:silhouette of trees near body of water ",
|
||||
"blur_hash": "LZP4uQS4jboe%#o0WCa}2doJNaaz",
|
||||
@ -190,7 +190,7 @@ class UnsplashSearchExtractor(UnsplashExtractor):
|
||||
subcategory = "search"
|
||||
pattern = BASE_PATTERN + r"/s/photos/([^/?#]+)(?:\?([^/?#]+))?"
|
||||
test = ("https://unsplash.com/s/photos/nature", {
|
||||
"pattern": r"https://images\.unsplash\.com/(photo-\d+-\w+"
|
||||
"pattern": r"https://images\.unsplash\.com/((flagged/)?photo-\d+-\w+"
|
||||
r"|reserve/[^/?#]+)\?ixid=\w+&ixlib=rb-1\.2\.1$",
|
||||
"range": "1-30",
|
||||
"count": 30,
|
||||
|
@ -312,7 +312,7 @@ def setup_test_config():
|
||||
config.set(("extractor", "mangoxo") , "password", "5zbQF10_5u25259Ma")
|
||||
|
||||
for category in ("danbooru", "instagram", "twitter", "subscribestar",
|
||||
"e621", "inkbunny"):
|
||||
"e621", "inkbunny", "tapas"):
|
||||
config.set(("extractor", category), "username", None)
|
||||
|
||||
config.set(("extractor", "mastodon.social"), "access-token",
|
||||
|
Loading…
Reference in New Issue
Block a user