From 5135c9df7f73f33b2ed33e48495af18de6d3e1d1 Mon Sep 17 00:00:00 2001 From: LM Date: Thu, 7 Nov 2024 13:56:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhostloc=E8=8E=B7=E5=8F=96ip?= =?UTF-8?q?=E7=9A=84API=E5=A4=B1=E6=95=88=E5=AF=BC=E8=87=B4=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ck_hostloc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ck_hostloc.py b/ck_hostloc.py index 53788909..44e0cb00 100644 --- a/ck_hostloc.py +++ b/ck_hostloc.py @@ -173,7 +173,7 @@ def get_points(self, s: req_Session, number_c: int): # 打印输出当前ip地址 @staticmethod def log_my_ip(): - api_url = "https://api.ipify.org/" + api_url = "https://4.ipw.cn/" try: r = requests.get(url=api_url) r.raise_for_status()