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:
+1
-1
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user