mirror of https://github.com/scrapy/scrapy.git
Fixed compatibility issues with Twisted 9 (closes #128)
This commit is contained in:
parent
6084be3b2e
commit
cabee59d4d
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue