[gelbooru] support 'all' and empty tag (#5076)
This commit is contained in:
@@ -15,6 +15,20 @@ __tests__ = (
|
||||
"#count" : 5,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://gelbooru.com/index.php?page=post&s=list&tags=all",
|
||||
"#category": ("booru", "gelbooru", "tag"),
|
||||
"#class" : gelbooru.GelbooruTagExtractor,
|
||||
"#range" : "1-3",
|
||||
"#count" : 3,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://gelbooru.com/index.php?page=post&s=list&tags=",
|
||||
"#category": ("booru", "gelbooru", "tag"),
|
||||
"#class" : gelbooru.GelbooruTagExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://gelbooru.com/index.php?page=post&s=list&tags=meiya_neon",
|
||||
"#category": ("booru", "gelbooru", "tag"),
|
||||
|
||||
@@ -16,6 +16,20 @@ __tests__ = (
|
||||
"#sha1_content": "e5ad4c5bf241b1def154958535bef6c2f6b733eb",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://safebooru.org/index.php?page=post&s=list&tags=all",
|
||||
"#category": ("gelbooru_v02", "safebooru", "tag"),
|
||||
"#class" : gelbooru_v02.GelbooruV02TagExtractor,
|
||||
"#range" : "1-3",
|
||||
"#count" : 3,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://safebooru.org/index.php?page=post&s=list&tags=",
|
||||
"#category": ("gelbooru_v02", "safebooru", "tag"),
|
||||
"#class" : gelbooru_v02.GelbooruV02TagExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://safebooru.org/index.php?page=pool&s=show&id=11",
|
||||
"#category": ("gelbooru_v02", "safebooru", "pool"),
|
||||
|
||||
Reference in New Issue
Block a user