1
0
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:
Mike Fährmann 2022-08-24 22:10:01 +02:00
parent f362d4a3c7
commit 70dc4ce911
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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"