[imagebam] update URL test results

Image URLs are now using https://, but the website itself is still
served as http://.
pull/378/head
Mike Fährmann 5 years ago
parent 189acbeac9
commit eb7da159e2
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -41,14 +41,14 @@ class ImagebamGalleryExtractor(ImagebamExtractor):
pattern = r"(?:https?://)?(?:www\.)?imagebam\.com/gallery/([0-9a-z]+)" pattern = r"(?:https?://)?(?:www\.)?imagebam\.com/gallery/([0-9a-z]+)"
test = ( test = (
("http://www.imagebam.com/gallery/adz2y0f9574bjpmonaismyrhtjgvey4o", { ("http://www.imagebam.com/gallery/adz2y0f9574bjpmonaismyrhtjgvey4o", {
"url": "fb01925129a1ff1941762eaa3a2783a66de6847f", "url": "76d976788ae2757ac81694736b07b72356f5c4c8",
"keyword": "9e25b8827474ac93c54855e798d60aa3cbecbd7a", "keyword": "9e25b8827474ac93c54855e798d60aa3cbecbd7a",
"content": "596e6bfa157f2c7169805d50075c2986549973a8", "content": "596e6bfa157f2c7169805d50075c2986549973a8",
}), }),
("http://www.imagebam.com/gallery/op9dwcklwdrrguibnkoe7jxgvig30o5p", { ("http://www.imagebam.com/gallery/op9dwcklwdrrguibnkoe7jxgvig30o5p", {
# more than 100 images; see issue #219 # more than 100 images; see issue #219
"count": 107, "count": 107,
"url": "f92ce5b17676b6ea69288f0aef26f4cdbea7fd8d", "url": "32ae6fe5dc3e4ca73ff6252e522d16473595d1d1",
}), }),
("http://www.imagebam.com/gallery/gsl8teckymt4vbvx1stjkyk37j70va2c", { ("http://www.imagebam.com/gallery/gsl8teckymt4vbvx1stjkyk37j70va2c", {
"exception": exception.NotFoundError, "exception": exception.NotFoundError,
@ -108,7 +108,7 @@ class ImagebamImageExtractor(ImagebamExtractor):
r"/(?:image/|(?:[0-9a-f]{2}/){3})([0-9a-f]+)") r"/(?:image/|(?:[0-9a-f]{2}/){3})([0-9a-f]+)")
test = ( test = (
("http://www.imagebam.com/image/94d56c502511890", { ("http://www.imagebam.com/image/94d56c502511890", {
"url": "b384893c35a01a09c58018db71ddc4cf2480be95", "url": "5e9ba3b1451f8ded0ae3a1b84402888893915d4a",
"keyword": "4263d4840007524129792b8587a562b5d20c2687", "keyword": "4263d4840007524129792b8587a562b5d20c2687",
"content": "0c8768055e4e20e7c7259608b67799171b691140", "content": "0c8768055e4e20e7c7259608b67799171b691140",
}), }),

@ -29,7 +29,7 @@ class PururinGalleryExtractor(GalleryExtractor):
"artist" : ["Shoda Norihiro"], "artist" : ["Shoda Norihiro"],
"group" : ["Obsidian Order"], "group" : ["Obsidian Order"],
"parody" : ["Kantai Collection"], "parody" : ["Kantai Collection"],
"characters": ["Iowa", "Teitoku"], "characters": ["Admiral", "Iowa"],
"tags" : list, "tags" : list,
"type" : "Doujinshi", "type" : "Doujinshi",
"collection": "", "collection": "",

@ -26,12 +26,10 @@ TRAVIS_SKIP = {
# temporary issues, etc. # temporary issues, etc.
BROKEN = { BROKEN = {
"adultempire", "8chan",
"flickr", "idolcomplex",
"imgth", "imgth",
"mangafox",
"mangapark", "mangapark",
"pixnet",
} }

Loading…
Cancel
Save