1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-05-15 00:32:51 -04:00

Cache video token

This commit is contained in:
Zed
2019-06-24 05:29:47 +02:00
parent 861ac7a593
commit 1213220ef0
2 changed files with 70 additions and 64 deletions
+1 -1
View File
@@ -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())