diff options
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"]) |
