diff options
Diffstat (limited to 'gallery_dl/extractor/nozomi.py')
| -rw-r--r-- | gallery_dl/extractor/nozomi.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gallery_dl/extractor/nozomi.py b/gallery_dl/extractor/nozomi.py index 99e397b..4eb3ee6 100644 --- a/gallery_dl/extractor/nozomi.py +++ b/gallery_dl/extractor/nozomi.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2019-2020 Mike Fährmann +# Copyright 2019-2021 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -62,7 +62,7 @@ class NozomiExtractor(Extractor): del post[key] yield Message.Directory, post - for image in images: + for post["num"], image in enumerate(images, 1): post["url"] = url = text.urljoin(self.root, image["imageurl"]) text.nameext_from_url(url, post) post["is_video"] = bool(image.get("is_video")) @@ -95,13 +95,11 @@ class NozomiPostExtractor(NozomiExtractor): "dataid" : "re:aaa9f7c632cde1e1a5baaff3fb6a6d857ec73df7fdc5", "date" : "dt:2016-07-26 02:32:03", "extension": "jpg", - "favorites": int, "filename" : str, "height" : 768, "is_video" : False, "postid" : 3649262, "source" : "danbooru", - "sourceid" : 2434215, "tags" : list, "type" : "jpg", "url" : str, @@ -111,7 +109,7 @@ class NozomiPostExtractor(NozomiExtractor): # multiple images per post ("https://nozomi.la/post/25588032.html", { "url": "6aa3b7db385abcc9d374bdffd19187bccbf8f228", - "keyword": "8c3a2561ccc9ad429be9850d1383a952d0b4a8ab", + "keyword": "f60e048df36308b6b25dfaac419b586895d360bc", "count": 7, }), # empty 'date' (#1163) |
