diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 039f9af..54f0800 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -1108,10 +1108,10 @@ def get_ip_from_url(url): except Exception: return None - IPV4_URL1 = "http://ipv4.myexternalip.com/raw" + IPV4_URL1 = "http://v4.ident.me/)" IPV4_URL2 = "http://ipv4.icanhazip.com/" - IPV6_URL1 = "http://ipv6.myexternalip.com/raw" + IPV6_URL1 = "http://v6.ident.me/" IPV6_URL2 = "http://ipv6.icanhazip.com/" my_ip_info["ipv4"] = get_ip_from_url(IPV4_URL1) or get_ip_from_url(IPV4_URL2)