From 98cd620f233fbb9924638309b26f6b7b2bd1e4d4 Mon Sep 17 00:00:00 2001 From: sm4640 Date: Tue, 24 Mar 2026 16:54:33 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20[2.0.7]=20format=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0=20-=20ignore=5Fno=5Fformats=5Ferror=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit format: worst 대신 ignore_no_formats_error: True로 변경하여 포맷 관련 에러 없이 자막만 추출하도록 수정 Co-Authored-By: Claude Opus 4.6 --- app/transcript.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/transcript.py b/app/transcript.py index 0b686e9..bd7e39a 100644 --- a/app/transcript.py +++ b/app/transcript.py @@ -26,9 +26,10 @@ def fetch_transcript(video_id: str) -> str: "writeautomaticsub": True, "subtitleslangs": ["ko", "en"], "subtitlesformat": "json3", - "format": "worst", "quiet": True, "no_warnings": True, + "extract_flat": False, + "ignore_no_formats_error": True, } if os.path.isfile(COOKIES_SRC):