We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe30757 commit 5356518Copy full SHA for 5356518
nazurin/sites/twitter/api/base.py
@@ -83,7 +83,7 @@ async def get_best_video(tweet: dict, variants: list) -> Ugoira:
83
file = File(filename, best_variant, destination)
84
async with Request() as session:
85
await file.download(session)
86
- return Ugoira(file, BaseAPI.build_caption(tweet), tweet)
+ return Ugoira(int(tweet["id_str"]), file, BaseAPI.build_caption(tweet), tweet)
87
88
@staticmethod
89
def parse_photo(tweet: dict, photo: dict, index: int):
0 commit comments