mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
put a basic UA in there
This commit is contained in:
parent
8f3b5cafd1
commit
e3b7d6d571
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ proc updateAccountPool*(cfg: Config) {.async.} =
|
|||
if accountPool.len == 0:
|
||||
log "fetching more accounts from service"
|
||||
|
||||
let client = newAsyncHttpClient()
|
||||
let client = newAsyncHttpClient("nitter-accounts")
|
||||
|
||||
try:
|
||||
let resp = await client.get($(cfg.guestAccountsPoolUrl ? {"id": cfg.guestAccountsPoolId, "auth": cfg.guestAccountsPoolAuth}))
|
||||
|
|
Loading…
Reference in a new issue