mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-10 09:09:21 +00:00
notes: use userRestId api token pool
This commit is contained in:
parent
17a2e0f334
commit
6216db3f18
|
@ -44,7 +44,7 @@ proc getGraphArticle*(id: string): Future[Article] {.async.} =
|
|||
let
|
||||
variables = %*{"twitterArticleId": id}
|
||||
url = graphArticle ? {"variables": $variables}
|
||||
result = parseGraphArticle(await fetch(url, Api.article))
|
||||
result = parseGraphArticle(await fetch(url, Api.userRestId))
|
||||
|
||||
proc getListTimeline*(id: string; after=""): Future[Timeline] {.async.} =
|
||||
if id.len == 0: return
|
||||
|
|
|
@ -18,7 +18,6 @@ type
|
|||
listMembers
|
||||
userRestId
|
||||
status
|
||||
article
|
||||
|
||||
RateLimit* = object
|
||||
remaining*: int
|
||||
|
|
Loading…
Reference in a new issue