mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
[fanbox] fix crash with missing images (#3673)
This commit is contained in:
parent
3fa456d989
commit
511a051705
@ -89,6 +89,7 @@ class FanboxExtractor(Extractor):
|
||||
content_body["imageMap"] = {
|
||||
image_id: image_map[image_id]
|
||||
for image_id in images
|
||||
if image_id in image_map
|
||||
}
|
||||
|
||||
post["content"] = "\n".join(content)
|
||||
@ -256,7 +257,6 @@ class FanboxCreatorExtractor(FanboxExtractor):
|
||||
|
||||
def posts(self):
|
||||
url = "https://api.fanbox.cc/post.listCreator?creatorId={}&limit=10"
|
||||
|
||||
return self._pagination(url.format(self.creator_id))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user