Fixed issue with Text posts in API

This commit is contained in:
Dylan 2023-09-30 22:14:24 +01:00
parent 9d05e55860
commit c6ff71aec0

View File

@ -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"],