From d114122988973139ae3cd663e9d539d38178421f Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Tue, 3 Sep 2024 08:16:40 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E9=85=92=E5=BA=97=E6=BA=90.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/酒店源.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/酒店源.py b/py/酒店源.py index a27e49d..6b6f45b 100644 --- a/py/酒店源.py +++ b/py/酒店源.py @@ -60,7 +60,7 @@ def modify_urls(url): modified_ip = f"{ip_address[:-1]}{i}" # 组合成新的 URL #modified_url = f"{url[:ip_start_index]}{ip_address}{port}{ip_end}" #modified_url = f"{base_url}{modified_ip}{port}{ip_end}" - modified_url = f"{url[:ip_start_index]}{ip_address}{port}{ip_end}" + modified_url = f"{base_url}{ip_address}{port}{ip_end}" # 将新的 URL 添加到列表中 modified_urls.append(modified_url) # 返回修改后的 URL 列表