Some sites give 404 error temporarily. But I paste in on browser it works. How to tell scrapy to retry the 404 status code links for 5 times.
Asked
Active
Viewed 3,713 times
1 Answers
18
There are two Scrapy settings relevant to what you need:
- RETRY_HTTP_CODES: you should override the default value in your project to include
404 - RETRY_TIMES: just set it to
5
Pablo Hoffman
- 1,508
- 13
- 19