Updated the domain used to fetch IPv4 from cloudflare.
This commit is contained in:
parent
f0357c71c1
commit
ceeb011366
@ -59,7 +59,7 @@ def getIPs():
|
|||||||
if ipv4_enabled:
|
if ipv4_enabled:
|
||||||
try:
|
try:
|
||||||
a = requests.get(
|
a = requests.get(
|
||||||
"https://cloudflare.com/cdn-cgi/trace").text.split("\n")
|
"https://1.1.1.1/cdn-cgi/trace").text.split("\n")
|
||||||
a.pop()
|
a.pop()
|
||||||
a = dict(s.split("=") for s in a)["ip"]
|
a = dict(s.split("=") for s in a)["ip"]
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in New Issue
Block a user