mirror of
https://github.com/honmashironeko/ProxyCat.git
synced 2025-11-05 10:51:06 +00:00
Update
This commit is contained in:
parent
2bbdff29b5
commit
ad3a0b6d7f
@ -5,7 +5,7 @@ def newip():
|
||||
url = f""
|
||||
response = requests.get(url)
|
||||
response.raise_for_status()
|
||||
newip = "socks5://"+response.text.split("\n\r")[0]
|
||||
newip = "socks5://"+response.text.split("\r\n")[0]
|
||||
print("新的代理IP为:"+newip)
|
||||
return newip
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ def newip():
|
||||
url = f""
|
||||
response = requests.get(url)
|
||||
response.raise_for_status()
|
||||
newip = "socks5://"+response.text.split("\n\r")[0]
|
||||
newip = "socks5://"+response.text.split("\r\n")[0]
|
||||
print("The new proxy IP is:"+newip)
|
||||
return newip
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user