diff options
author | Jesus E <heckyel@riseup.net> | 2023-06-17 16:25:34 -0400 |
---|---|---|
committer | Jesus E <heckyel@riseup.net> | 2023-06-17 16:25:34 -0400 |
commit | 21224c8dae0c04ee9879d76e3a34d1343c27bc55 (patch) | |
tree | 03de383d3b3b50719b1f87c7305446ae019503ab | |
parent | 93b58efa0ea49478444adb6f2e9f6cddf6746f81 (diff) | |
download | yt-local-21224c8dae0c04ee9879d76e3a34d1343c27bc55.tar.lz yt-local-21224c8dae0c04ee9879d76e3a34d1343c27bc55.tar.xz yt-local-21224c8dae0c04ee9879d76e3a34d1343c27bc55.zip |
watch_extraction.py: fix conditional
-rw-r--r-- | youtube/yt_data_extract/watch_extraction.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |