mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Cache video token
This commit is contained in:
parent
861ac7a593
commit
1213220ef0
2 changed files with 58 additions and 52 deletions
|
|
@ -112,5 +112,5 @@ proc getTweetMedia*(tweet: Tweet; node: XmlNode) =
|
|||
|
||||
if "gif" in player.getAttr("class"):
|
||||
tweet.gif = some(getGif(player.querySelector(".PlayableMedia-player")))
|
||||
else:
|
||||
elif "video" in player.getAttr("class"):
|
||||
tweet.video = some(Video())
|
||||
|
|
|
|||
Loading…
Reference in a new issue