mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-29 06:42:50 -05: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:
@@ -21,10 +21,7 @@ proc getListTimeline*(username, list, agent, after: string; media=true): Future[
|
||||
if result.content.len == 0:
|
||||
return
|
||||
|
||||
let last = result.content[^1]
|
||||
result.minId =
|
||||
if last.retweet.isNone: $last.id
|
||||
else: $(get(last.retweet).id)
|
||||
result.minId = getLastId(result)
|
||||
|
||||
proc getListMembers*(username, list, agent: string): Future[Result[Profile]] {.async.} =
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user