mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use media endpoint for profile media tab
This bypasses "search" rate limits. It now includes media beyond images and videos (eg. YouTube links are "media"), but the old behaviour can be restored by clicking search, then filtering "Media" and excluding retweets and replies.
This commit is contained in:
parent
0e6ac69a3f
commit
ffce6e21ab
6 changed files with 55 additions and 28 deletions
|
|
@ -9,7 +9,7 @@ import ../views/general
|
|||
include "../views/rss.nimf"
|
||||
|
||||
proc showRss*(name, hostname: string; query: Query): Future[string] {.async.} =
|
||||
let (profile, timeline, _) =
|
||||
let (profile, timeline) =
|
||||
await fetchSingleTimeline(name, "", getAgent(), query, media=false)
|
||||
|
||||
if timeline != nil:
|
||||
|
|
|
|||
Loading…
Reference in a new issue