mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Nevermind.
This commit is contained in:
parent
51c7af082d
commit
91f42c4c94
3 changed files with 13 additions and 6 deletions
|
|
@ -36,8 +36,8 @@ proc getListMembers*(list: List; after=""): Future[Result[Profile]] {.async.} =
|
|||
proc getProfile*(username: string): Future[Profile] {.async.} =
|
||||
let
|
||||
ps = genParams({"screen_name": username})
|
||||
url = userLookup ? ps
|
||||
result = parseUserLookup(await fetch(url, oldApi=true), username)
|
||||
url = userShow ? ps
|
||||
result = parseUserShow(await fetch(url, oldApi=true), username)
|
||||
|
||||
proc getTimeline*(id: string; after=""; replies=false): Future[Timeline] {.async.} =
|
||||
let
|
||||
|
|
|
|||
Loading…
Reference in a new issue