|
@@ -67,7 +67,7 @@ proc parseTweet*(node: XmlNode): Tweet =
|
|
|
profile: parseTweetProfile(tweet),
|
|
profile: parseTweetProfile(tweet),
|
|
|
stats: parseTweetStats(tweet),
|
|
stats: parseTweetStats(tweet),
|
|
|
reply: parseTweetReply(tweet),
|
|
reply: parseTweetReply(tweet),
|
|
|
- hasThread: tweet.select(".self-thread-context") != nil,
|
|
|
|
|
|
|
+ hasThread: tweet.select(".content > .self-thread-context") != nil,
|
|
|
pinned: "pinned" in tweet.attr("class"),
|
|
pinned: "pinned" in tweet.attr("class"),
|
|
|
available: true
|
|
available: true
|
|
|
)
|
|
)
|