mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Support rss for custom search
This commit is contained in:
parent
bd4895f6fd
commit
df3001ae95
3 changed files with 19 additions and 11 deletions
|
|
@ -30,3 +30,7 @@ proc createRssRouter*(cfg: Config) =
|
|||
get "/@name/media/rss":
|
||||
cond '.' notin @"name"
|
||||
respRss(await showRss(@"name", getMediaQuery(@"name")))
|
||||
|
||||
get "/@name/search/rss":
|
||||
cond '.' notin @"name"
|
||||
respRss(await showRss(@"name", initQuery(params(request), name=(@"name"))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue