From 21224c8dae0c04ee9879d76e3a34d1343c27bc55 Mon Sep 17 00:00:00 2001 From: Jesus E Date: Sat, 17 Jun 2023 16:25:34 -0400 Subject: watch_extraction.py: fix conditional --- youtube/yt_data_extract/watch_extraction.py | 1 + 1 file changed, 1 insertion(+) (limited to 'youtube/yt_data_extract') diff --git a/youtube/yt_data_extract/watch_extraction.py b/youtube/yt_data_extract/watch_extraction.py index cfda4fa..9dcfeab 100644 --- a/youtube/yt_data_extract/watch_extraction.py +++ b/youtube/yt_data_extract/watch_extraction.py @@ -426,6 +426,7 @@ def update_format_with_codec_info(fmt, codec): elif (codec.startswith('mp4a') or codec in ('opus', 'mp3', 'aac', 'dtse', 'ec-3', 'vorbis', 'ac-3')): + conservative_update(fmt, 'acodec', codec) else: print('Warning: unrecognized codec: ' + codec) -- cgit v1.2.3