mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[skeb] ignore article images with empty URL
8cf5981ded (commitcomment-81980633)
This commit is contained in:
parent
f362d4a3c7
commit
70dc4ce911
@ -107,10 +107,12 @@ class SkebExtractor(Extractor):
|
||||
yield post
|
||||
|
||||
if self.article and "article_image_url" in resp:
|
||||
post["content_category"] = "article"
|
||||
post["file_id"] = "article"
|
||||
post["file_url"] = resp["article_image_url"]
|
||||
yield post
|
||||
url = resp["article_image_url"]
|
||||
if url:
|
||||
post["content_category"] = "article"
|
||||
post["file_id"] = "article"
|
||||
post["file_url"] = url
|
||||
yield post
|
||||
|
||||
for preview in resp["previews"]:
|
||||
post["content_category"] = "preview"
|
||||
|
Loading…
Reference in New Issue
Block a user