Spaces:
Running
Running
Update config.py
Browse files
config.py
CHANGED
@@ -13,8 +13,8 @@ if USE_PROXY:
|
|
13 |
# 代理网络的地址,打开你的*学*网软件查看代理的协议(socks5/http)、地址(localhost)和端口(11284)
|
14 |
proxies = {
|
15 |
# [协议]:// [地址] :[端口]
|
16 |
-
"http": "socks5h://
|
17 |
-
"https": "socks5h://
|
18 |
}
|
19 |
else:
|
20 |
proxies = None
|
|
|
13 |
# 代理网络的地址,打开你的*学*网软件查看代理的协议(socks5/http)、地址(localhost)和端口(11284)
|
14 |
proxies = {
|
15 |
# [协议]:// [地址] :[端口]
|
16 |
+
"http": "socks5h://127.0.0.1:1080", # 再例如 "http": "http://127.0.0.1:7890",
|
17 |
+
"https": "socks5h://127.0.0.1:1080", # 再例如 "https": "http://127.0.0.1:7890",
|
18 |
}
|
19 |
else:
|
20 |
proxies = None
|