From b90518990d4e4ec92b3b630c759dc50b08c113fa Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Sun, 11 Aug 2024 00:52:46 +0800 Subject: [PATCH] Update iptv-cv2-check.py --- py/iptv-cv2-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/iptv-cv2-check.py b/py/iptv-cv2-check.py index dbc632d..c9056b3 100644 --- a/py/iptv-cv2-check.py +++ b/py/iptv-cv2-check.py @@ -594,7 +594,7 @@ def process_line(line, output_file, order_list, valid_count, invalid_count, tota print(f"已写入genre行:{line.strip()}") elif len(parts) == 2: channel_name, channel_url = parts - resolution = get_video_resolution(channel_url, timeout=8) + resolution = get_video_resolution(channel_url, timeout=2) if resolution and resolution[1] >= 720: # 检查分辨率是否大于等于720p with threading.Lock(): output_file.write(f"{channel_name}[{resolution[1]}p],{channel_url}\n")