-
install node
-
run
sudo npm i -g http-proxy-to-socks, npm is from node package -
run
hpts -s localhost:10861086 as your socks proxy port, set up http proxy tunnel on localhost:8080 on default. hpts is shortened form for http-proxy-to-socks -
run
export http_proxy=localhost:8080only vailable for current bash session, urllib will use http_proxy -
curl google.comto find if you are fine to go -
python <python_file>