diff --git a/py/网络收集.py b/py/网络收集.py index ba5d97c..a272f42 100644 --- a/py/网络收集.py +++ b/py/网络收集.py @@ -107,7 +107,7 @@ simplified_text = converter.convert(traditional_text) with open('汇总.txt', 'w', encoding='utf-8') as file: file.write(simplified_text) -excluded_keywords = ['epg', 'mitv', 'udp', 'rtp', 'P2p', 'p2p', 'p3p', 'P2P', '新闻综合', 'P3p', '9930/qilu', 'shandong', 'goodiptv', '购物', '[', 'P3P', 'CCTV', '腔', '曲', '/pt', '//1', '/hls/', '春节'] +excluded_keywords = ['epg', 'mitv', 'udp', 'rtp', 'P2p', 'p2p', 'p3p', 'P2P', '新闻综合', 'P3p', '9930/qilu', 'shandong', 'jdshipin', 'goodiptv', '购物', '[', 'P3P', 'CCTV', '腔', '曲', '/pt', '//1', '/hls/', '春节'] with open('汇总.txt', 'r', encoding='utf-8') as infile, open('汇总.txt', 'w', encoding='utf-8') as outfile: for line in infile: if not any(keyword in line for keyword in excluded_keywords):