[pixiv] fix 'IndexError' for unviewable works (#7940)

This commit is contained in:
Mike Fährmann
2025-08-01 17:59:39 +02:00
parent 8286476c4b
commit 9a50588792
2 changed files with 12 additions and 0 deletions

View File

@@ -368,6 +368,13 @@ __tests__ = (
"#sha1_content": "aa119c27fec0a36bbd06e7491987acf5f1be6293",
},
{
"#url" : "https://www.pixiv.net/artworks/56360615",
"#comment" : "limit_unviewable_s / unavailable without cookies (#7940)",
"#class" : pixiv.PixivWorkExtractor,
"#count" : 11,
},
{
"#url" : "https://www.pixiv.net/en/artworks/966412",
"#class" : pixiv.PixivWorkExtractor,