Return type of 'gif' for twitter GIFs (#124)
This commit is contained in:
parent
879389204e
commit
cac3026f2b
@ -169,6 +169,8 @@ def twitfix(sub_path):
|
||||
media.append(besturl)
|
||||
extendedInfo["url"] = besturl
|
||||
extendedInfo["type"] = "video"
|
||||
if (i["type"] == "animated_gif"):
|
||||
extendedInfo["type"] = "gif"
|
||||
altText = None
|
||||
extendedInfo["size"] = {"width":i["original_info"]["width"],"height":i["original_info"]["height"]}
|
||||
if "ext_alt_text" in i:
|
||||
|
Loading…
x
Reference in New Issue
Block a user