mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
45 lines
1.3 KiB
Python
45 lines
1.3 KiB
Python
|
# -*- 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://imagetwist.com/f1i2s4vhvbrq/test.png",
|
||
|
"#category": ("imagehost", "imagetwist", "image"),
|
||
|
"#class" : imagehosts.ImagetwistImageExtractor,
|
||
|
"#sha1_url" : "8d5e168c0bee30211f821c6f3b2116e419d42671",
|
||
|
"#sha1_metadata": "d1060a4c2e3b73b83044e20681712c0ffdd6cfef",
|
||
|
"#sha1_content" : "0c8768055e4e20e7c7259608b67799171b691140",
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://www.imagetwist.com/f1i2s4vhvbrq/test.png",
|
||
|
"#category": ("imagehost", "imagetwist", "image"),
|
||
|
"#class" : imagehosts.ImagetwistImageExtractor,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://phun.imagetwist.com/f1i2s4vhvbrq/test.png",
|
||
|
"#category": ("imagehost", "imagetwist", "image"),
|
||
|
"#class" : imagehosts.ImagetwistImageExtractor,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://imagehaha.com/f1i2s4vhvbrq/test.png",
|
||
|
"#category": ("imagehost", "imagetwist", "image"),
|
||
|
"#class" : imagehosts.ImagetwistImageExtractor,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://www.imagehaha.com/f1i2s4vhvbrq/test.png",
|
||
|
"#category": ("imagehost", "imagetwist", "image"),
|
||
|
"#class" : imagehosts.ImagetwistImageExtractor,
|
||
|
},
|
||
|
|
||
|
)
|