osome-iu / botometer-python

A Python API for Botometer by OSoMe
https://botometer.osome.iu.edu
MIT License
378 stars 60 forks source link

Issue with LIMIT #53

Closed Gautamshahi closed 4 years ago

Gautamshahi commented 4 years ago

Hello,

I tried to get the bot score only for 400 accounts in 24 hours, Why am I getting the below error?

Failed to send request: HTTPSConnectionPool(host='api.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/user_timeline.json?id=%40defenceforces&include_rts=True&count=200 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001D037C04F88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

filmenczer commented 4 years ago

Are you adding 1-second delays between requests?

Should we add an option for that in the library now that the basic API plan has a 1-sec delay limit?

Gautamshahi commented 4 years ago

Okay, thank you.

For the basic API, what is the total number of account can be checked in a day?

On Mon, Jul 20, 2020 at 12:39 AM Fil Menczer notifications@github.com wrote:

Are you adding 1-second delays between requests?

Should we add an option for that in the library now that the basic API plan has a 1-sec delay limit?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/53#issuecomment-660720043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFVAIPMNW25R2G5TW23R4NY23ANCNFSM4PBP2WLA .

-- Gautam Kishore Shahi,

filmenczer commented 4 years ago

2000

Gautamshahi commented 4 years ago

It worked with 1 second pause. Thanks

On Mon, Jul 20, 2020 at 1:07 AM Fil Menczer notifications@github.com wrote:

2000

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/53#issuecomment-660723336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFRELWRN4X5LVGCTI7TR4N4BHANCNFSM4PBP2WLA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

Are you adding 1-second delays between requests?

Should we add an option for that in the library now that the basic API plan has a 1-sec delay limit?

Will discuss this issue in next meeting