[pixiv] detect suspended/deleted accounts (#7990)
This commit is contained in:
@@ -136,6 +136,7 @@ __tests__ = (
|
||||
"#comment" : "deleted account with a different error",
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
"#log" : "'User has left pixiv or the user ID does not exist.'",
|
||||
"#exception": exception.NotFoundError,
|
||||
},
|
||||
|
||||
{
|
||||
@@ -175,6 +176,13 @@ __tests__ = (
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/users/70060776/artworks",
|
||||
"#comment" : "suspended account (#7990)",
|
||||
"#class" : pixiv.PixivArtworksExtractor,
|
||||
"#exception": exception.NotFoundError,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/en/users/173530/avatar",
|
||||
"#class" : pixiv.PixivAvatarExtractor,
|
||||
|
||||
Reference in New Issue
Block a user