[pixiv] retrieve 'caption' from AJAX API when empty (#4327, #5191)

This commit is contained in:
Mike Fährmann
2024-10-09 17:46:26 +02:00
parent 4adb1df55a
commit e05b9b101e
2 changed files with 12 additions and 1 deletions

View File

@@ -266,6 +266,14 @@ __tests__ = (
],
},
{
"#url" : "https://www.pixiv.net/en/artworks/103983466",
"#comment" : "empty 'caption' in App API response (#4327, #5191)",
"#class" : pixiv.PixivWorkExtractor,
"caption": r"re:Either she doesn't know how to pose or she can't move with that much clothing on her, in any case she's very well dressed for a holiday trip around town. Lots of stuff to see and a perfect day to grab some sweet pastries at the bakery.<br />...",
},
{
"#url" : "https://www.pixiv.net/en/artworks/966412",
"#category": ("", "pixiv", "work"),