webmagic icon indicating copy to clipboard operation
webmagic copied to clipboard

shadowsockets只有密码,没有账号,如何用SimpleProxyProvider

Open yuweiming2016 opened this issue 4 years ago • 1 comments

image

yuweiming2016 avatar Feb 20 '21 08:02 yuweiming2016

不支持 ss 通讯协议。

你必须先使用 ss-local 在本地开启 socks5 proxy server。比如监听在 127.0.0.1:1080,然后给 webmagic 添加 socks5 代理设置:socks5://127.0.0.1:1080 (伪代码)。

关于 webmagic 的 socks 代理的支持可以查看 https://github.com/code4craft/webmagic/issues/934#issuecomment-644567040 ,或者使用其它的软件将 socks 转换(proxy chain)成 http 后再在 webmagic 上使用。

sutra avatar Feb 20 '21 08:02 sutra