mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Fix tweet tags being shown as unavailable tweets
This commit is contained in:
parent
e2039ec81c
commit
9dc4b240e7
3 changed files with 8 additions and 7 deletions
|
|
@ -83,7 +83,9 @@ proc parseTweet*(node: XmlNode): Tweet =
|
|||
|
||||
proc parseTweets*(node: XmlNode): Tweets =
|
||||
if node == nil or node.kind == xnText: return
|
||||
node.selectAll(".stream-item").map(parseTweet)
|
||||
for n in node.selectAll(".stream-item"):
|
||||
if "account" notin n.child("div").attr("class"):
|
||||
result.add parseTweet(n)
|
||||
|
||||
proc parseConversation*(node: XmlNode): Conversation =
|
||||
result = Conversation(
|
||||
|
|
|
|||
Loading…
Reference in a new issue