From c4fa534e61ec231a3c18f199ace666dea9c92345 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Tue, 3 Sep 2024 06:18:53 +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 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/py/酒店源.py b/py/酒店源.py index 3c38b49..14af714 100644 --- a/py/酒店源.py +++ b/py/酒店源.py @@ -539,10 +539,8 @@ for url in urls: name = name.replace("奥运匹克", "") name = name.replace("TVBTVB", "TVB") name = name.replace("星空卫视", "动物杂技") - urld = urld.replace("key=txiptv&playlive=1&authid=0", "$不见黄河心不死key=txiptv&playlive=1&authid=0") #key=txiptv&playlive=1&down=1 - urld = urld.replace("key=txiptv&playlive=0&authid=0", "$不见黄河心不死key=txiptv&playlive=0&authid=0") + urld = urld.replace("key", "$不见黄河心不死") #key=txiptv&playlive=1&down=1 key=txiptv&playlive=0&authid=0 key=txiptv&playlive=1&authid=0 results.append(f"{name},{urld}") - urld = urld.replace("key=txiptv&playlive=1&down=1", "$不见黄河心不死") except: continue except: @@ -938,7 +936,7 @@ replacements = { "T,": ",", "dx,": ",", "g,": ",", - "": "", + "TVBTVB": "TVB", "": "", "": "", "": "",