From 893215d55f3a42feef1f3824857a3ea9b2c8e20f Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Wed, 12 Mar 2025 16:32:39 +0800 Subject: [PATCH] =?UTF-8?q?Update=20IPTV=E6=90=9C=E7=B4=A2=E5=BC=95?= =?UTF-8?q?=E6=93=8E=E9=87=87=E9=9B=86.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/IPTV搜索引擎采集.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/IPTV搜索引擎采集.py b/py/IPTV搜索引擎采集.py index 1af71e0..de2580b 100644 --- a/py/IPTV搜索引擎采集.py +++ b/py/IPTV搜索引擎采集.py @@ -42,7 +42,8 @@ def via_tonking(url): # 提取 IP 地址部分,去除协议 ip_address = url.split("//")[-1] response = requests.get( - url=f'http://tonkiang.us/hoteliptv.php?s={ip_address}&c=false&y=false', + #url=f'http://tonkiang.us/hoteliptv.php?s={ip_address}&c=false&y=false', + url=f'https://tonkiang.us/hoteliptv.php?page=1&iphone16={ip_address}&code=', headers=headers, timeout=10 )