mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
Add list support
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user