shoutsByLayout, no checks

This commit is contained in:
2022-11-12 21:13:23 +03:00
parent 3ae65b0c36
commit 25dd0ba553
3 changed files with 18 additions and 13 deletions

View File

@@ -347,7 +347,7 @@ def prepare_html_body(entry):
def extract_html(entry):
body_orig = entry.get("body").replace('\(', '(').replace('/)', ')') or ""
body_orig = (entry.get("body") or "").replace('\(', '(').replace('/)', ')')
media = entry.get("media", [])
kind = entry.get("type") or ""
print("[extract] kind: " + kind)