mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-13 07:42:48 -05:00
Fix tweet tags being shown as unavailable tweets
This commit is contained in:
@@ -188,10 +188,11 @@ proc getTimeline*(username: string; after=""): Future[Timeline] {.async.} =
|
||||
minId: json.getOrDefault("min_position").getStr(""),
|
||||
)
|
||||
|
||||
if json["new_latent_count"].to(int) == 0:
|
||||
return
|
||||
if json["new_latent_count"].to(int) == 0: return
|
||||
if not json.hasKey("items_html"): return
|
||||
|
||||
let html = parseHtml(json["items_html"].to(string))
|
||||
|
||||
result.tweets = parseTweets(html)
|
||||
await getVideos(result.tweets)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user