[deviantart] warn about empty journal texts (#5916)

https://github.com/mikf/gallery-dl/issues/5916#issuecomment-2351069092
This commit is contained in:
Mike Fährmann
2024-09-16 10:12:25 +02:00
parent 4c391805de
commit a9dc7a6f98

View File

@@ -284,6 +284,9 @@ class DeviantartExtractor(Extractor):
html = journal["html"]
shadow = SHADOW_TEMPLATE.format_map(thumbs[0]) if thumbs else ""
if not html:
self.log.warning("%s: Empty journal content", deviation["index"])
if "css" in journal:
css, cls = journal["css"], "withskin"
elif html.startswith("<style"):