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