chore: update my branch #1

Merged
Future merged 18 commits from update/alterware into alterware 2025-06-02 09:29:44 +00:00
Showing only changes of commit e64aa41ff6 - Show all commits

View File

@ -156,6 +156,8 @@ def getApiResponse(tweet,include_txt=False,include_rtf=False):
if 'entities' in tweetL and 'urls' in tweetL['entities']:
for eurl in tweetL['entities']['urls']:
if 'expanded_url' not in eurl:
continue
if "/status/" in eurl["expanded_url"] and eurl["expanded_url"].startswith("https://twitter.com/"):
twText = twText.replace(eurl["url"], "")
else: