mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add multi-user timeline support
This commit is contained in:
parent
4660d23667
commit
eeead99e32
8 changed files with 80 additions and 35 deletions
|
|
@ -308,7 +308,7 @@ proc getTimeline*(username, after, agent: string): Future[Timeline] {.async.} =
|
|||
let json = await fetchJson(base / (timelineUrl % username) ? params, headers)
|
||||
result = await finishTimeline(json, none(Query), after, agent)
|
||||
|
||||
proc getTimelineSearch*(username, after, agent: string; query: Query): Future[Timeline] {.async.} =
|
||||
proc getTimelineSearch*(query: Query; after, agent: string): Future[Timeline] {.async.} =
|
||||
let queryParam = genQueryParam(query)
|
||||
let queryEncoded = encodeUrl(queryParam, usePlus=false)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue