crypto-crawler / crypto-crawler-rs

A rock-solid cryptocurrency crawler library.
Apache License 2.0
227 stars 73 forks source link

Supported socks5 proxy for crypto-ws-client #18

Closed GhostLee closed 2 years ago

GhostLee commented 2 years ago

Use fast_socks5 crate to wrap the TcpStream so that we can use socks5 proxy, please set https_proxy env before run executable. eg. https_proxy=socks5://127.0.0.1:10808

soulmachine commented 2 years ago

Hi @GhostLee , thank your for this great job. One quick question, have you run this against a real socks5 proxy? Is your code working?

soulmachine commented 2 years ago

Related to https://github.com/snapview/tungstenite-rs/issues/177

GhostLee commented 2 years ago

yes, I use it in my project.

soulmachine commented 2 years ago

I published new versions of carbonbot and crypto-crawler, which support socks5 proxy now.