mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Support tweet locations
This commit is contained in:
parent
80d6191e74
commit
f8f4487c33
7 changed files with 34 additions and 5 deletions
|
|
@ -108,6 +108,7 @@ proc parseTweet*(node: XmlNode): Tweet =
|
|||
stats: parseTweetStats(tweet),
|
||||
reply: parseTweetReply(tweet),
|
||||
mediaTags: getMediaTags(tweet),
|
||||
location: getTweetLocation(tweet),
|
||||
hasThread: tweet.select(".content > .self-thread-context") != nil,
|
||||
pinned: "pinned" in tweet.attr("class"),
|
||||
available: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue