[pixiv] update 'work' extractor pattern & add tests
This commit is contained in:
@@ -101,6 +101,18 @@ __tests__ = (
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.phixiv.net/member_illust.php?id=173530",
|
||||
"#category": ("", "pixiv", "artworks"),
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://phixiv.net/en/users/56514424/artworks",
|
||||
"#category": ("", "pixiv", "artworks"),
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/en/users/173530/avatar",
|
||||
"#category": ("", "pixiv", "avatar"),
|
||||
@@ -341,6 +353,18 @@ __tests__ = (
|
||||
"#class" : pixiv.PixivWorkExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.phixiv.net/en/artworks/966412",
|
||||
"#category": ("", "pixiv", "work"),
|
||||
"#class" : pixiv.PixivWorkExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://phixiv.net/member_illust.php?mode=medium&illust_id=966412",
|
||||
"#category": ("", "pixiv", "work"),
|
||||
"#class" : pixiv.PixivWorkExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/en/artworks/unlisted/eE3fTYaROT9IsZmep386",
|
||||
"#class" : pixiv.PixivUnlistedExtractor,
|
||||
|
||||
Reference in New Issue
Block a user