mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
48 lines
1.6 KiB
Python
48 lines
1.6 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 gelbooru_v02
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://safebooru.org/index.php?page=post&s=list&tags=bonocho",
|
|
"#category": ("gelbooru_v02", "safebooru", "tag"),
|
|
"#class" : gelbooru_v02.GelbooruV02TagExtractor,
|
|
"#sha1_url" : "17c61b386530cf4c30842c9f580d15ef1cd09586",
|
|
"#sha1_content": "e5ad4c5bf241b1def154958535bef6c2f6b733eb",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://safebooru.org/index.php?page=pool&s=show&id=11",
|
|
"#category": ("gelbooru_v02", "safebooru", "pool"),
|
|
"#class" : gelbooru_v02.GelbooruV02PoolExtractor,
|
|
"#count" : 5,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://safebooru.org/index.php?page=favorites&s=view&id=17567",
|
|
"#category": ("gelbooru_v02", "safebooru", "favorite"),
|
|
"#class" : gelbooru_v02.GelbooruV02FavoriteExtractor,
|
|
"#count" : 2,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://safebooru.org/index.php?page=post&s=view&id=1169132",
|
|
"#category": ("gelbooru_v02", "safebooru", "post"),
|
|
"#class" : gelbooru_v02.GelbooruV02PostExtractor,
|
|
"#options" : {"tags": True},
|
|
"#sha1_url" : "cf05e37a3c62b2d55788e2080b8eabedb00f999b",
|
|
"#sha1_content": "93b293b27dabd198afafabbaf87c49863ac82f27",
|
|
|
|
"tags_artist" : "kawanakajima",
|
|
"tags_character": "heath_ledger ronald_mcdonald the_joker",
|
|
"tags_copyright": "dc_comics mcdonald's the_dark_knight",
|
|
"tags_general" : str,
|
|
},
|
|
|
|
)
|