1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-15 08:42:48 -05:00

Add simple emoji support

This commit is contained in:
Zed
2019-06-25 02:38:18 +02:00
parent 4bf38f71f3
commit a098d3ea84
4 changed files with 27 additions and 17 deletions

View File

@@ -77,7 +77,7 @@ proc getGuestToken(): Future[string] {.async.} =
token = result
proc getVideo*(tweet: Tweet; token: string) {.async.} =
if not tweet.video.isSome: return
if tweet.video.isNone(): return
let headers = newHttpHeaders({
"Accept": "application/json, text/javascript, */*; q=0.01",