From cabee59d4d44cebf897dea94988bc05613963954 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Sat, 28 Nov 2009 22:15:09 -0200 Subject: [PATCH] Fixed compatibility issues with Twisted 9 (closes #128) --- scrapy/core/downloader/webclient.py | 2 ++ 1 file changed, 2 insertions(+) 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]