[deviantart] warn about empty journal texts (#5916)
https://github.com/mikf/gallery-dl/issues/5916#issuecomment-2351069092
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user