mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use old user endpoint to avoid graphql rate limits
This commit is contained in:
parent
39863703b3
commit
74534e8fef
4 changed files with 21 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ proc getCachedProfile*(username: string; fetch=true): Future[Profile] {.async.}
|
|||
if prof != redisNil:
|
||||
result = prof.to(Profile)
|
||||
else:
|
||||
result = await getGraphProfile(username)
|
||||
result = await getProfile(username)
|
||||
if result.id.len > 0:
|
||||
await cache(result)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue