mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 12:12:34 +01:00
625e94fa7d
still not everything, but good enough for now
27 lines
833 B
Python
27 lines
833 B
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 szurubooru
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://booru.bcbnsfw.space/posts/query=simple_background",
|
|
"#category": ("szurubooru", "bcbnsfw", "tag"),
|
|
"#class" : szurubooru.SzurubooruTagExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://booru.bcbnsfw.space/post/1599",
|
|
"#comment" : "now only available as WebP",
|
|
"#category": ("szurubooru", "bcbnsfw", "post"),
|
|
"#class" : szurubooru.SzurubooruPostExtractor,
|
|
"#pattern" : r"https://booru\.bcbnsfw\.space/data/posts/1599_53784518e92086bd\.png",
|
|
"#sha1_content": "55f8b8d187adc82f2dcaf2aa89db0ae21b08c0b0",
|
|
},
|
|
|
|
)
|