[silverpic] add 'image' extractor (#8020)

This commit is contained in:
Mike Fährmann
2025-08-13 09:16:03 +02:00
parent c6f8a99c75
commit 8581b3f7c5
4 changed files with 54 additions and 0 deletions

24
test/results/silverpic.py Normal file
View 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,
},
)