diff options
| author | 2024-02-20 02:31:10 -0500 | |
|---|---|---|
| committer | 2024-02-20 02:31:10 -0500 | |
| commit | 01166fa52707cc282467427cf0e65c1b8983c4be (patch) | |
| tree | 7f61e0de7e76a7a226bb6e05e4e3d181e11f673a /gallery_dl/extractor/luscious.py | |
| parent | 12e23f1195164dcb740d6d4a4287e762c9e5e534 (diff) | |
New upstream version 1.26.8.upstream/1.26.8
Diffstat (limited to 'gallery_dl/extractor/luscious.py')
| -rw-r--r-- | gallery_dl/extractor/luscious.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gallery_dl/extractor/luscious.py b/gallery_dl/extractor/luscious.py index c3c44d2..8e73964 100644 --- a/gallery_dl/extractor/luscious.py +++ b/gallery_dl/extractor/luscious.py @@ -63,7 +63,11 @@ class LusciousAlbumExtractor(LusciousExtractor): image["num"] = num image["album"] = album - image["thumbnail"] = image.pop("thumbnails")[0]["url"] + try: + image["thumbnail"] = image.pop("thumbnails")[0]["url"] + except LookupError: + image["thumbnail"] = "" + image["tags"] = [item["text"] for item in image["tags"]] image["date"] = text.parse_timestamp(image["created"]) image["id"] = text.parse_int(image["id"]) |
