[postimg] fix extraction (#8505)
This commit is contained in:
@@ -39,12 +39,26 @@ __tests__ = (
|
||||
"token" : "Wtn2b3hC",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "http://postimg.org/image/5l1cogxcr/",
|
||||
"#comment" : "no 'imagename' (#8505)",
|
||||
"#category": ("imagehost", "postimg", "image"),
|
||||
"#class" : imagehosts.PostimgImageExtractor,
|
||||
"#results" : "https://i.postimg.cc/08bm81zX/fashion-show-dream-angels-fantasy-bra-2014-adria.jpg?dl=1",
|
||||
|
||||
"extension": "jpg",
|
||||
"filename" : "fashion-show-dream-angels-fantasy-bra-2014-adria",
|
||||
"token" : "5l1cogxcr",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://postimg.cc/gallery/wxpDLgX",
|
||||
"#category": ("imagehost", "postimg", "gallery"),
|
||||
"#class" : imagehosts.PostimgGalleryExtractor,
|
||||
"#pattern" : imagehosts.PostimgImageExtractor.pattern,
|
||||
"#count" : 22,
|
||||
|
||||
"gallery_title": "My Gallery",
|
||||
},
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user