[aryion] update favorite extractor

- add test case
- add docs/supportedsites entry
- add custom directory_fmt and archive_fmt
- remove constructor
- appease flake8
This commit is contained in:
Mike Fährmann
2024-07-21 12:34:06 +02:00
parent 19e98ef8e9
commit 156a70bec0
3 changed files with 23 additions and 12 deletions

View File

@@ -31,7 +31,18 @@ __tests__ = (
},
{
"#url" : "https://aryion.com/g4/tags.php?tag=star+wars&p=19",
"#url" : "https://aryion.com/g4/favorites/jameshoward",
"#category": ("", "aryion", "favorite"),
"#class" : aryion.AryionFavoriteExtractor,
"#range" : "1-10",
"#count" : 10,
"user" : "jameshoward",
"artist" : "re:^((?!jameshoward).)*$",
},
{
"#url" : "https://aryion.com/g4/tags.php?tag=star+wars&p=28",
"#category": ("", "aryion", "tag"),
"#class" : aryion.AryionTagExtractor,
"#count" : ">= 5",