1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/cavemanon.py
Mike Fährmann 625e94fa7d
update extractor test results
still not everything, but good enough for now
2023-11-27 18:30:53 +01:00

45 lines
1.4 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 shimmie2
__tests__ = (
{
"#url" : "https://booru.cavemanon.xyz/index.php?q=post/list/Amber/1",
"#category": ("shimmie2", "cavemanon", "tag"),
"#class" : shimmie2.Shimmie2TagExtractor,
"#pattern" : r"https://booru\.cavemanon\.xyz/index\.php\?q=image/\d+\.\w+",
"#range" : "1-100",
"#count" : 100,
},
{
"#url" : "https://booru.cavemanon.xyz/post/list/Amber/1",
"#category": ("shimmie2", "cavemanon", "tag"),
"#class" : shimmie2.Shimmie2TagExtractor,
},
{
"#url" : "https://booru.cavemanon.xyz/index.php?q=post/view/8335",
"#category": ("shimmie2", "cavemanon", "post"),
"#class" : shimmie2.Shimmie2PostExtractor,
"#pattern" : r"https://booru\.cavemanon\.xyz/index\.php\?q=image/8335\.png",
"#sha1_content": "7158f7e4abbbf143bad5835eb93dbe4d68c1d4ab",
"extension": "png",
"file_url" : "https://booru.cavemanon.xyz/index.php?q=image/8335.png",
"filename" : "8335",
"height" : 460,
"id" : 8335,
"md5" : "",
"size" : 0,
"tags" : "Color discord_emote Fang Food Pterodactyl transparent",
"width" : 459,
},
)