Scrapy, a fast high-level web crawling & scraping framework for Python.
use handle_httpstatus_all=True in scrapy shell
Pablo Hoffman5275343fa194
diff --git a/scrapy/shell.py b/scrapy/shell.pyindex d3f0654eb..acfe370ca 100644--- a/scrapy/shell.py+++ b/scrapy/shell.py@@ -74,6 +74,7 @@ class Shell(object):else:url = any_to_uri(request_or_url)request = Request(url, dont_filter=True)+ request.meta['handle_httpstatus_all'] = Trueresponse = Noneresponse, spider = threads.blockingCallFromThread(reactor, \self._schedule, request, spider)