[hentaifoundry] add 'tag' extractor (#6465)

This commit is contained in:
Mike Fährmann
2024-11-13 18:23:06 +01:00
parent b62c466c14
commit a3276e3b5d
3 changed files with 29 additions and 1 deletions

View File

@@ -55,12 +55,24 @@ __tests__ = (
"#class" : hentaifoundry.HentaifoundryFavoriteExtractor,
},
{
"#url" : "https://www.hentai-foundry.com/pictures/tagged/kancolle",
"#category": ("", "hentaifoundry", "tag"),
"#class" : hentaifoundry.HentaifoundryTagExtractor,
"#pattern" : r"https://pictures.hentai-foundry.com/[^/]/[^/?#]+/\d+/",
"#range" : "20-30",
"search_tags": "kancolle",
},
{
"#url" : "https://www.hentai-foundry.com/pictures/recent/2018-09-20",
"#category": ("", "hentaifoundry", "recent"),
"#class" : hentaifoundry.HentaifoundryRecentExtractor,
"#pattern" : r"https://pictures.hentai-foundry.com/[^/]/[^/?#]+/\d+/",
"#range" : "20-30",
"date": "2018-09-20",
},
{