mirror of
https://github.com/honmashironeko/ProxyCat.git
synced 2026-10-24 16:44:26 +00:00
Merge branch 'main' of https://github.com/honmashironeko/ProxyCat
This commit is contained in:
commit
1241aabbff
2 files changed
+3
-3
No files matched your search
@@ -100,7 +100,7 @@
|
||||
| :--: | :-----------------: | :------------: |
|
||||
| 1 | **陆沉** | 1266.62 |
|
||||
| 2 | **柯林斯.民间新秀** | 696 |
|
||||
| 3 | **北** | 170 |
|
||||
| 3 | **明察涉网犯罪技术侦察实验室** | 188 |
|
||||
| [赞助榜单](https://github.com/honmashironeko/Thanks-for-sponsorship) | 您的每一份赞助都是作者源源不断的动力! | (´∀`)♡ |
|
||||
|
||||
---
|
||||
|
||||
+2
-2
@@ -34,8 +34,8 @@ def newip():
|
||||
proxy = get_proxy()
|
||||
|
||||
if username and password:
|
||||
return f"socks5://{username}:{password}@{proxy}"
|
||||
return f"socks5://{proxy}"
|
||||
return f"http://{username}:{password}@{proxy}"
|
||||
return f"http://{proxy}"
|
||||
|
||||
except requests.RequestException as e:
|
||||
handle_error('request', e)
|
||||
|
||||
Reference in new issue
Block a user