[silverpic] add 'image' extractor (#8020)
This commit is contained in:
24
test/results/silverpic.py
Normal file
24
test/results/silverpic.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# 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
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
from gallery_dl.extractor import imagehosts
|
||||
|
||||
|
||||
__tests__ = (
|
||||
{
|
||||
"#url" : "https://www.silverpic.com/8k562jyix8xq/jxU_0001.JPG.html",
|
||||
"#category": ("imagehost", "silverpic", "image"),
|
||||
"#class" : imagehosts.SilverpicImageExtractor,
|
||||
"#results" : "https://silverpic.com/img/z7esmp7eor37ssodt4ptpxbzoy/jxU_0001.JPG",
|
||||
|
||||
"filename" : "jxU_0001",
|
||||
"extension": "jpg",
|
||||
"token" : "8k562jyix8xq",
|
||||
"width" : 3744,
|
||||
"height" : 5616,
|
||||
},
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user