mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Generate tweet links
This commit is contained in:
parent
04dbd07959
commit
9b07199901
5 changed files with 8 additions and 9 deletions
|
|
@ -42,7 +42,6 @@ proc parseTweetProfile*(profile: XmlNode): Profile =
|
|||
proc parseQuote*(quote: XmlNode): Quote =
|
||||
result = Quote(
|
||||
id: quote.attr("data-item-id"),
|
||||
link: quote.attr("href"),
|
||||
text: getQuoteText(quote)
|
||||
)
|
||||
|
||||
|
|
@ -60,7 +59,6 @@ proc parseTweet*(node: XmlNode): Tweet =
|
|||
|
||||
result = Tweet(
|
||||
id: tweet.attr("data-item-id"),
|
||||
link: tweet.attr("data-permalink-path"),
|
||||
text: getTweetText(tweet),
|
||||
time: getTimestamp(tweet),
|
||||
shortTime: getShortTime(tweet),
|
||||
|
|
|
|||
Loading…
Reference in a new issue