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

Add DOWNLOAD_DELAY=0.5 to Scrapy config #109

Merged

Conversation

paulproteus
Copy link

At the time of writing, oh-bugimporters has difficulty downloading
all the bugs it wants to from github.com.

@ehashman discovered that GitHub throttles API requests after
5000 per hour.

The Scrapy DOWNLOAD_DELAY setting affects only "consecutive pages
from the same website", so we should still see a sizeable amount
of parallelism in our crawling after this change. However,
since this setting applies to all domains, we might still
see a general slowdown.

At the time of writing, oh-bugimporters has difficulty downloading
all the bugs it wants to from github.com.

@ehashman discovered that GitHub throttles API requests after
5000 per hour.

The Scrapy DOWNLOAD_DELAY setting affects only "consecutive pages
from the same website", so we should still see a sizeable amount
of parallelism in our crawling after this change. However,
since this setting applies to all domains, we might still
see a general slowdown.
@ehashman
Copy link
Member

ehashman commented Jan 4, 2015

Looks good to me.

ehashman added a commit that referenced this pull request Jan 4, 2015
@ehashman ehashman merged commit 9cfaae9 into openhatch:master Jan 4, 2015
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

Successfully merging this pull request may close these issues.

2 participants