https://blog.csdn.net/sunny_day_day/article/details/120685202
https://blog.csdn.net/jamesdodo/article/details/129416431
https://blog.csdn.net/SHERLOCKSALVATORE/article/details/123599042
使用 http 类型代理
set http_proxy=http://127.0.0.1:8484
set https_proxy=http://127.0.0.1:8484
使用 socks 类型代理
这种方式试没有成功
netsh winhttp set proxy proxy-server="socks=127.0.0.1:8484" bypass-list="localhost"
netsh winhttp show proxy
netsh winhttp reset proxy
使用 socks 类型代理
set http_proxy=socks5://127.0.0.1:8484
set https_proxy=socks5://127.0.0.1:8484
–为python增加socks5调用
“C:\Users\u1\AppData\Local\Programs\Python\Python37-32\python.exe” -m pip install pysocks
必须先安装pysocks 然后python命令行才对 set http_proxy…起作用