From 68982bee7faf17eaa11dd314f43d27906dce12da Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Mon, 19 Aug 2024 10:01:39 +0800 Subject: [PATCH] =?UTF-8?q?Update=20iptv=E6=B5=81=E7=95=85=E5=BA=A6?= =?UTF-8?q?=E6=A3=80=E6=B5=8B.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/iptv流畅度检测.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/py/iptv流畅度检测.py b/py/iptv流畅度检测.py index 22b85ed..4ae650c 100644 --- a/py/iptv流畅度检测.py +++ b/py/iptv流畅度检测.py @@ -54,10 +54,13 @@ for keyword in keywords: province, isp, mcast = keyword.split("_") #将省份转成英文小写 # 根据不同的 isp 设置不同的 org 值 - if province == "北京" and isp == "联通": - isp_en = "cucc" - org = "China Unicom Beijing Province Network" - asn = "4808" + org = "Chinanet" + others = '' + if isp == "电信" and province_en == "sichuang": + org = "Chinanet" + isp_en = "ctcc" + asn = "4134" + others = '&& city="Chengdu" ' elif isp == "联通": isp_en = "cucc" org = "CHINA UNICOM China169 Backbone"