Update iptv-jd.py

This commit is contained in:
frxz751113
2024-08-12 19:32:09 +08:00
committed by GitHub
parent b95ce841ec
commit d9bd9ca261
+1 -1
View File
@@ -1527,7 +1527,7 @@ with open(output_file_path, 'w', encoding='utf-8') as output_file:
# 释放资源
cap.release()
# 根据捕获的帧数判断状态并记录结果
if frame_count >= 50:
if frame_count >= 80:
detected_ips[ip_key] = {'status': 'ok'}
output_file.write(line) # 写入检测通过的行
else: