Scrapy, a fast high-level web crawling & scraping framework for Python.
Added FAQ entry about response code 999
Pablo Hoffman3d8151bb2666
diff --git a/docs/faq.rst b/docs/faq.rstindex 14d3291ec..ea301563d 100644--- a/docs/faq.rst+++ b/docs/faq.rst@@ -173,3 +173,20 @@ Can I return (Twisted) deferreds from signal handlers?Some signals support returning deferreds form their handlers, others don't. Seethe :ref:`topics-signals-ref` to know which ones.++What does the response status code 999 means?+---------------------------------------------++999 is a custom reponse status code used by Yahoo sites to throttle requests.+Try slowing down the crawling speed by using a download delay in your spider::++ class MySpider(CrawlSpider):++ name = 'myspider'++ download_delay = 1++ # [ ... rest of the spider code ... ]++Or by setting a global download delay in your project with the+:setting:`DOWNLOAD_DELAY` setting.