mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add list support
This commit is contained in:
parent
d1fbcef64d
commit
9e3138e51b
25 changed files with 224 additions and 39 deletions
|
|
@ -34,3 +34,8 @@ proc createRssRouter*(cfg: Config) =
|
|||
get "/@name/search/rss":
|
||||
cond '.' notin @"name"
|
||||
respRss(await showRss(@"name", initQuery(params(request), name=(@"name"))))
|
||||
|
||||
get "/@name/lists/@list/rss":
|
||||
cond '.' notin @"name"
|
||||
let list = await getListTimeline(@"name", @"list", getAgent(), "")
|
||||
respRss(renderListRss(list.content, @"name", @"list"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue