Fix API hashtags field
This commit is contained in:
parent
a78f23e28b
commit
163ae08cf8
@ -128,8 +128,8 @@ def twitfix(sub_path):
|
|||||||
media.append(besturl)
|
media.append(besturl)
|
||||||
else:
|
else:
|
||||||
media.append(i["media_url_https"])
|
media.append(i["media_url_https"])
|
||||||
if "hashtags" in tweetL["extended_entities"]:
|
if "hashtags" in tweetL["entities"]:
|
||||||
for i in tweetL["extended_entities"]["hashtags"]:
|
for i in tweetL["entities"]["hashtags"]:
|
||||||
hashtags.append(i["text"])
|
hashtags.append(i["text"])
|
||||||
apiObject = {
|
apiObject = {
|
||||||
"text": tweetL["full_text"],
|
"text": tweetL["full_text"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user