Fix #14
This commit is contained in:
parent
1954a72bd0
commit
a05ff596e0
@ -321,6 +321,10 @@ def link_to_vnf_from_tweet_data(tweet,video_link):
|
|||||||
else:
|
else:
|
||||||
nsfw = False
|
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(
|
vnf = tweetInfo(
|
||||||
url,
|
url,
|
||||||
video_link,
|
video_link,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user