mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Change user endpoint
This commit is contained in:
parent
77da2e32c6
commit
0e58c36bae
3 changed files with 5 additions and 5 deletions
|
|
@ -37,7 +37,7 @@ proc getProfile*(username: string): Future[Profile] {.async.} =
|
|||
let
|
||||
ps = genParams({"screen_name": username})
|
||||
url = userLookup ? ps
|
||||
result = parseUserShow(await fetch(url, oldApi=true), username)
|
||||
result = parseUserLookup(await fetch(url, oldApi=true), username)
|
||||
|
||||
proc getTimeline*(id: string; after=""; replies=false): Future[Timeline] {.async.} =
|
||||
let
|
||||
|
|
|
|||
Loading…
Reference in a new issue