From c121aebe3215b807383f3003897ef6d0599e9871 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Wed, 4 Sep 2024 19:54:34 +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 c9b46f9..8171e79 100644 --- a/py/酒店源.py +++ b/py/酒店源.py @@ -626,7 +626,7 @@ print("替换完成,新文件已保存。") ##################################################################### # 定义要搜索的关键词,从文件中提取包含这个关键词的行,然后添加到另一个文件尾 -keywords = ['hls', 'tsfile'] +keywords = ['hls.m3u8', 'tsfile#'] # 打开1.txt文件并读取内容 with open('网络收集.txt', 'r', encoding='utf-8') as file: lines = file.readlines()