1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

update tests

This commit is contained in:
Mike Fährmann 2018-08-02 14:51:51 +02:00
parent 42a346413b
commit f3793660ef
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
4 changed files with 13 additions and 6 deletions

View File

@ -24,8 +24,9 @@ class BehanceGalleryExtractor(Extractor):
test = [
("https://www.behance.net/gallery/17386197", {
"count": 2,
"url": "8c692c208b74fed789288eda9230715be8d02057",
"keyword": {
"title": str,
"title": 're:"Hi". A short story about the important things ',
"user": "Place Studio, Julio César Velazquez",
"fields": ["Animation", "Character Design", "Directing"],
"date": 1401810111,
@ -34,6 +35,11 @@ class BehanceGalleryExtractor(Extractor):
"comments": int,
},
}),
("https://www.behance.net/gallery/13706563/Fundacja-ING-Dzieciom", {
"count": 7,
"url": "3b78be2a5652524529962cf2dc81b383129c1363",
"keyword": {"user": "UVMW Studio"},
}),
]
def __init__(self, match):

View File

@ -150,7 +150,7 @@ class FlickrGalleryExtractor(FlickrExtractor):
test = [(("https://www.flickr.com/photos/flickr/"
"galleries/72157681572514792/"), {
"url": "1e0e300fa5fe8c49ba5dfa7ccca0cb0da8a04f93",
"keyword": "7dd699ce77343921e8f149555ab2486a8ba1e9ec",
"keyword": "ba1f0e4bf5ee4e10071bdc272c19f015985cf055",
})]
def __init__(self, match):

View File

@ -216,9 +216,9 @@ class TurboimagehostImageExtractor(ImagehostImageExtractor):
category = "turboimagehost"
pattern = [(r"(?:https?://)?((?:www\.)?turboimagehost\.com/p/(\d+)"
r"/[^/]+\.html)")]
test = [("https://www.turboimagehost.com/p/29690902/test--.png.html", {
"url": "ada27a4e04f9ffd5ab7cd787f4559d5b3744520b",
"keyword": "a4527f14675e4512ef317ee0401940c711fbe012",
test = [("https://www.turboimagehost.com/p/39078423/test--.png.html", {
"url": "b94de43612318771ced924cb5085976f13b3b90e",
"keyword": "c1391465dc7b590b0eb8ea2a8cd235733c6fce2b",
"content": "0c8768055e4e20e7c7259608b67799171b691140",
})]
https = True

View File

@ -18,11 +18,12 @@ from gallery_dl import extractor, job, config, exception
TRAVIS_SKIP = {
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie",
"archivedmoe", "archiveofsins", "thebarchive", "fireden",
"sankaku", "idolcomplex", "mangahere", "turboimagehost",
"sankaku", "idolcomplex", "mangahere",
}
# temporary issues, etc.
BROKEN = {
"imagetwist",
"subapics",
}