update extractor test results
still not everything, but good enough for now
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
from gallery_dl.extractor import imagefap
|
||||
from gallery_dl import exception
|
||||
|
||||
|
||||
__tests__ = (
|
||||
@@ -12,16 +13,14 @@ __tests__ = (
|
||||
"#url" : "https://www.imagefap.com/gallery/7102714",
|
||||
"#category": ("", "imagefap", "gallery"),
|
||||
"#class" : imagefap.ImagefapGalleryExtractor,
|
||||
"#pattern" : r"https://cdnh?\.imagefap\.com/images/full/\d+/\d+/\d+\.jpg",
|
||||
"#sha1_metadata": "bdcb75b1e4b9dddc718f3d66e1a58afa9d81a38b",
|
||||
"#sha1_content" : "694a0a57385980a6f90fbc296cadcd6c11ba2dab",
|
||||
"#exception": exception.HttpError,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.imagefap.com/gallery/7876223",
|
||||
"#category": ("", "imagefap", "gallery"),
|
||||
"#class" : imagefap.ImagefapGalleryExtractor,
|
||||
"#pattern" : r"https://cdnh?\.imagefap\.com/images/full/\d+/\d+/\d+\.jpg",
|
||||
"#pattern" : r"https://cdn[ch]?\.imagefap\.com/images/full/\d+/\d+/\d+\.jpg",
|
||||
"#count" : 44,
|
||||
|
||||
"categories" : [
|
||||
@@ -90,7 +89,7 @@ __tests__ = (
|
||||
"#url" : "https://www.imagefap.com/photo/1962981893",
|
||||
"#category": ("", "imagefap", "image"),
|
||||
"#class" : imagefap.ImagefapImageExtractor,
|
||||
"#pattern" : r"https://cdnh?\.imagefap\.com/images/full/65/196/1962981893\.jpg",
|
||||
"#pattern" : r"https://cdn[ch]?\.imagefap\.com/images/full/65/196/1962981893\.jpg",
|
||||
|
||||
"date" : "21/08/2014",
|
||||
"gallery_id": 7876223,
|
||||
|
||||
Reference in New Issue
Block a user