Update iptv流畅度检测.py

This commit is contained in:
frxz751113
2024-08-18 22:19:31 +08:00
committed by GitHub
parent 73a0cca16e
commit e460a08a9d
+1 -1
View File
@@ -570,7 +570,7 @@ def check_and_write_file(input_file, output_file, keywords):
file_size = os.path.getsize(output_file)
# 如果文件大小小于30字节(假设的最小文件大小),删除文件
if file_size < 500:
if file_size < 300:
os.remove(output_file)
print(f"文件只包含头部信息,{output_file} 已被删除。")
else: