Merge branch 'main' into prod

This commit is contained in:
Dylan 2023-09-30 22:15:08 +01:00
commit 4e45aa2902
2 changed files with 6 additions and 3 deletions

View File

@ -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

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