mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
parent
8208676e6e
commit
9ff3ba2005
5 changed files with 30 additions and 7 deletions
|
|
@ -107,3 +107,6 @@ proc getTime*(tweet: Tweet): string =
|
|||
|
||||
proc getLink*(tweet: Tweet | Quote): string =
|
||||
&"/{tweet.profile.username}/status/{tweet.id}"
|
||||
|
||||
proc getTombstone*(text: string): string =
|
||||
text.replace(re"\n* *Learn more", "").stripText().strip(chars={' ', '\n'})
|
||||
|
|
|
|||
Loading…
Reference in a new issue