mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Detect suspended accounts
This commit is contained in:
parent
240ce15651
commit
8a6978cf74
8 changed files with 38 additions and 6 deletions
|
|
@ -127,3 +127,6 @@ proc getLocation*(u: Profile | Tweet): (string, string) =
|
|||
let loc = u.location.split(":")
|
||||
let url = if loc.len > 1: "/search?q=place:" & loc[1] else: ""
|
||||
(loc[0], url)
|
||||
|
||||
proc getSuspended*(username: string): string =
|
||||
&"User \"{username}\" has been suspended"
|
||||
|
|
|
|||
Loading…
Reference in a new issue