Update 酒店源.py

This commit is contained in:
frxz751113
2024-09-03 07:48:45 +08:00
committed by GitHub
parent 9bf32ba073
commit 2ae359e287
+1 -1
View File
@@ -59,7 +59,7 @@ def modify_urls(url):
# 修改 IP 地址的最后一位数字 # 修改 IP 地址的最后一位数字
modified_ip = f"{ip_address[:-1]}{i}" modified_ip = f"{ip_address[:-1]}{i}"
# 组合成新的 URL # 组合成新的 URL
modified_url = f"{base_url}{ip_address}{port}{ip_end}" modified_url = f"{base_url}{modified_ip}{port}{ip_end}"
# 将新的 URL 添加到列表中 # 将新的 URL 添加到列表中
modified_urls.append(modified_url) modified_urls.append(modified_url)
# 返回修改后的 URL 列表 # 返回修改后的 URL 列表