This commit is contained in:
Dylan 2022-09-01 22:52:20 +01:00
parent 1954a72bd0
commit a05ff596e0

View File

@ -321,6 +321,10 @@ def link_to_vnf_from_tweet_data(tweet,video_link):
else:
nsfw = False
if 'entities' in tweet and 'urls' in tweet['entities']:
for eurl in tweet['entities']['urls']:
text = text.replace(eurl["url"],eurl["expanded_url"])
vnf = tweetInfo(
url,
video_link,