mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-23 20:03:45 +00:00
Merge pull request #718 from dangra/twisted-14.0.0
[WIP] does it work with Twisted 14.0.0?
This commit is contained in:
commit
f72b1597b4
@ -1,4 +1,4 @@
|
||||
Twisted>=10.0.0,<14.0.0
|
||||
Twisted>=10.0.0
|
||||
lxml
|
||||
pyOpenSSL
|
||||
cssselect>=0.9
|
||||
|
@ -118,6 +118,7 @@ class TunnelingAgent(Agent):
|
||||
super(TunnelingAgent, self).__init__(reactor, contextFactory,
|
||||
connectTimeout, bindAddress, pool)
|
||||
self._proxyConf = proxyConf
|
||||
self._contextFactory = contextFactory
|
||||
|
||||
def _getEndpoint(self, scheme, host, port):
|
||||
return TunnelingTCP4ClientEndpoint(self._reactor, host, port,
|
||||
|
Loading…
x
Reference in New Issue
Block a user