From c6ff71aec0c5fe328255a07270f6aea4cfe35ffd Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 30 Sep 2023 22:14:24 +0100 Subject: [PATCH] Fixed issue with Text posts in API --- twitfix.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/twitfix.py b/twitfix.py index 319c9f6..34e8129 100644 --- a/twitfix.py +++ b/twitfix.py @@ -219,6 +219,9 @@ def twitfix(sub_path): if 'quoted_status_id_str' in tweetL: qrtURL = "https://twitter.com/i/status/" + tweetL['quoted_status_id_str'] + if 'possibly_sensitive' not in tweetL: + tweetL['possibly_sensitive'] = False + apiObject = { "text": tweetL["full_text"], "likes": tweetL["favorite_count"],