[fanbox] add 'home' and 'supporting' extractors (#5138)

This commit is contained in:
Mike Fährmann
2024-02-14 23:25:39 +01:00
parent 04e4ffc64c
commit c97b92cc35
4 changed files with 47 additions and 10 deletions

View File

@@ -131,6 +131,23 @@ __tests__ = (
"#sha1_url": "c92ddd06f2efc4a5fe30ec67e21544f79a5c4062",
},
{
"#url" : "https://fanbox.cc/",
"#category": ("", "fanbox", "home"),
"#class" : fanbox.FanboxHomeExtractor,
"#auth" : True,
"#range" : "1-10",
"#count" : 10,
},
{
"#url" : "https://fanbox.cc/home/supporting",
"#category": ("", "fanbox", "supporting"),
"#class" : fanbox.FanboxSupportingExtractor,
"#auth" : True,
"#count" : 0,
},
{
"#url" : "https://www.pixiv.net/fanbox/creator/52336352",
"#category": ("", "fanbox", "redirect"),