Update: Fix bug, when user set extract_blocks to False

This commit is contained in:
unclecode
2024-05-10 20:12:31 +08:00
parent aa126e436b
commit 372c921429

View File

@@ -112,6 +112,8 @@ class WebCrawler:
parsed_json.extend(future.result())
parsed_json = json.dumps(parsed_json)
else:
parsed_json = "{}"
# Cache the result
cleaned_html = beautify_html(cleaned_html)