From 1e283c424901afdb7b64b4595093d6d4befd514f Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sat, 19 Apr 2025 03:50:33 +0300 Subject: [PATCH] fix bug --- post_parser.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/post_parser.py b/post_parser.py index 3eec34c..136ea2b 100644 --- a/post_parser.py +++ b/post_parser.py @@ -446,10 +446,10 @@ class PostParser: html_content = [] if debug: - html_content.append(f'
Title: {data["title"]}
') - html_content.append(f'
{data["media"]}
') - html_content.append(f'
{data["body"]}
') - html_content.append(f'') + html_content.append(f'
Title: {data["html"]["title"]}
') + html_content.append(f'
{data["html"]["media"]}
') + html_content.append(f'
{data["html"]["body"]}
') + html_content.append(f'') # Add raw JSON debug output if debug is enabled if debug: