mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
f9c4acabf8
commit
ebd7afe464
10 changed files with 98 additions and 37 deletions
|
|
@ -49,8 +49,8 @@ proc getUserpic*(userpic: string; style=""): string =
|
|||
proc getUserpic*(profile: Profile; style=""): string =
|
||||
getUserPic(profile.userpic, style)
|
||||
|
||||
proc getVideoEmbed*(id: int): string =
|
||||
&"https://twitter.com/i/videos/{id}?embed_source=facebook"
|
||||
proc getVideoEmbed*(cfg: Config; id: int): string =
|
||||
&"https://{cfg.hostname}/i/videos/{id}"
|
||||
|
||||
proc pageTitle*(profile: Profile): string =
|
||||
&"{profile.fullname} (@{profile.username})"
|
||||
|
|
|
|||
Loading…
Reference in a new issue