diff options
| author | 2022-06-05 00:33:56 -0400 | |
|---|---|---|
| committer | 2022-06-05 00:33:56 -0400 | |
| commit | 25442ea49f031d4d2df3353dd7e9ad2080e332da (patch) | |
| tree | 14c2ee86b8d10cf0f79b4cd3ce8d6a34ebe52eba /gallery_dl/extractor/pixiv.py | |
| parent | ad61a6d8122973534ab63df48f6090954bc73db6 (diff) | |
New upstream version 1.22.1.upstream/1.22.1
Diffstat (limited to 'gallery_dl/extractor/pixiv.py')
| -rw-r--r-- | gallery_dl/extractor/pixiv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/pixiv.py b/gallery_dl/extractor/pixiv.py index 9b35e42..f19e008 100644 --- a/gallery_dl/extractor/pixiv.py +++ b/gallery_dl/extractor/pixiv.py @@ -263,7 +263,8 @@ class PixivBackgroundExtractor(PixivExtractor): url = url.replace("_master1200.", ".") work = self._make_work("background", url, detail["user"]) if url.endswith(".jpg"): - work["_fallback"] = (url[:-4] + ".png",) + url = url[:-4] + work["_fallback"] = (url + ".png", url + ".gif") return (work,) |
