diff --git a/requirements.txt b/requirements.txt index 1e12ca2..b983298 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -pymongo==4.4.0 -boto3==1.28.1 +pymongo==4.5.0 +boto3==1.28.35 requests==2.31.0 Pillow==10.0.0 -Flask==2.2.3 +Flask==2.3.3 Flask-Cors==4.0.0 yt-dlp==2022.7.18 \ No newline at end of file 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"],