Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74058d1

Browse files
Limit concurrent requests and set the download delay.
1 parent 569d3c3 commit 74058d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎zipru_scraper/settings.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
ROBOTSTXT_OBEY = True
2222

2323
# Configure maximum concurrent requests performed by Scrapy (default: 16)
24-
#CONCURRENT_REQUESTS = 32
24+
CONCURRENT_REQUESTS = 1
2525

2626
# Configure a delay for requests for the same website (default: 0)
2727
# See http://scrapy.readthedocs.org/en/latest/topics/settings.html#download-delay
2828
# See also autothrottle settings and docs
29-
#DOWNLOAD_DELAY = 3
29+
DOWNLOAD_DELAY = 5
3030
# The download delay setting will honor only one of:
3131
#CONCURRENT_REQUESTS_PER_DOMAIN = 16
3232
#CONCURRENT_REQUESTS_PER_IP = 16

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /