1 Commits
2.0.6 ... 2.0.7

Author SHA1 Message Date
sm4640
98cd620f23 Fix: [2.0.7] format 에러 해결 - ignore_no_formats_error 사용
All checks were successful
news-summary-bot-cicd / build_push_deploy (push) Successful in 11m7s
format: worst 대신 ignore_no_formats_error: True로 변경하여
포맷 관련 에러 없이 자막만 추출하도록 수정

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 16:54:33 +09:00

View File

@@ -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):