原文:requests使用socks代理

requests在 . . 版本開始支持socks代理 自己搭了個服務器所以就想順便用一下。 import requests url xxx my proxies http : socks h: . . . : , https : socks h: . . . : r requests.get url url, proxies my proxies, timeout 這里使用的是socks h,一 ...

2020-03-10 14:49 0 624 推薦指數:

查看詳情

Linux使用socks代理

安裝一些依賴 安裝shadowsocks pip install shadowsocks, 編輯文件(沒有就新建), vim /etc/shadowsocks.json, 添加以下內容: ...

Sat Jun 22 18:49:00 CST 2019 0 2003
iphone使用mac上的SOCKS代理

Step 1. Make sure the SOCKS tunnel on your work computer allows LAN connections so your iPhone/iPod Touch can connect to it. Step 2. Create a text ...

Wed May 20 00:06:00 CST 2015 0 1907
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM