[gelbooru] support 'all' and empty tag (#5076)

This commit is contained in:
Mike Fährmann
2024-01-18 21:49:33 +01:00
parent a416d4c3d5
commit 93b4120e77
4 changed files with 32 additions and 2 deletions

View File

@@ -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"),