Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fixed compatibility issues with Twisted 9 (closes #128)

Pablo Hoffmancabee59d4d44
diff --git a/scrapy/core/downloader/webclient.py b/scrapy/core/downloader/webclient.py
index e95a9b945..dc93c2ab1 100644
--- a/scrapy/core/downloader/webclient.py
+++ b/scrapy/core/downloader/webclient.py
@@ -82,6 +82,8 @@ class ScrapyHTTPClientFactory(HTTPClientFactory):
protocol = ScrapyHTTPPageGetter
waiting = 1
noisy = False
+ followRedirect = False
+ afterFoundGet = False
def __init__(self, request, timeout=0):
self.url = urldefrag(request.url)[0]