Fixed compatibility issues with Twisted 9 (closes #128)

This commit is contained in:
Pablo Hoffman 2009-11-28 22:15:09 -02:00
parent 6084be3b2e
commit cabee59d4d
1 changed files with 2 additions and 0 deletions

View File

@ -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]