[aryion:favorite] support 'category' URLs (#8705)

This commit is contained in:
Mike Fährmann
2025-12-15 21:45:03 +01:00
parent 83ca65d918
commit 58ccde3645
2 changed files with 50 additions and 15 deletions

View File

@@ -41,6 +41,39 @@ __tests__ = (
"artist" : "re:^((?!jameshoward).)*$",
},
{
"#url" : "https://aryion.com/g4/favorites/CultOfTheShyCorpus",
"#class" : aryion.AryionFavoriteExtractor,
"#range" : "1-3",
"#results" : (
"https://aryion.com/g4/data.php?id=373076",
"https://aryion.com/g4/data.php?id=373075",
"https://aryion.com/g4/data.php?id=373074",
),
"user" : "CultOfTheShyCorpus",
"folder": "Camilla Swallows Corrin",
"path" : [
"Older Art!",
"Older Fanart!",
],
},
{
"#url" : "https://aryion.com/g4/favorites/CultOfTheShyCorpus/Elf%27s%20Revenge",
"#comment" : "'category' URL (#8705)",
"#class" : aryion.AryionFavoriteExtractor,
"#range" : "1-3",
"#results" : (
"https://aryion.com/g4/data.php?id=531328",
"https://aryion.com/g4/data.php?id=403354",
"https://aryion.com/g4/data.php?id=361515",
),
"folder" : "Elf's Revenge",
"path" : [],
},
{
"#url" : "https://aryion.com/g4/tags.php?tag=star+wars&p=28",
"#category": ("", "aryion", "tag"),