scrapy-splash icon indicating copy to clipboard operation
scrapy-splash copied to clipboard

Incomplete proxy support

Open 3hhh opened this issue 4 years ago • 0 comments

This plugin only supports proxies directly via splash [1].

Using the native scrapy proxy support [2] leads to an attempt to contact splash via the configured proxy.

It would be more optimal to transparently pass the scrapy proxy arguments to splash as it's currently done with headers & cookies. Currently users have to write their own middleware for that.

[1] https://splash.readthedocs.io/en/stable/scripting-request-object.html?highlight=proxy#request-set-proxy [2] https://docs.scrapy.org/en/latest/topics/downloader-middleware.html#scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware

3hhh avatar Apr 01 '21 15:04 3hhh