Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit of crawling #258

Open
adamrag opened this issue Jan 21, 2020 · 1 comment
Open

limit of crawling #258

adamrag opened this issue Jan 21, 2020 · 1 comment

Comments

@adamrag
Copy link

adamrag commented Jan 21, 2020

please what is the limit of crawling using advanced search,when we do we need to use proxy to avoid block our request from twitter?
thanks.

@JayMehtaUK
Copy link

What I do is to surround (tweets = got.manager.TweetManager.getTweets(tweetCriteria)) in a try except. And if you get blocked then make your program sleep for a bit and retry getting the tweets again. It will take longer but at least your program wont stop if you get blocked and can retry at a specified interval (I did 30 seconds).

Alternatively you can use a proxy as shown in this commit: #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants