diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-27 13:05:54 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-27 13:05:54 -0500 |
commit | a1d3cc5045b4b1ecfda914a27585fd9a486bbaa2 (patch) | |
tree | c73d90a1cd2a655544af1931dc35631bd54c2711 /youtube/yt_data_extract | |
parent | 92067638b10f8debbbfa4ffd4a3cd990a2c2149e (diff) | |
download | yt-local-a1d3cc5045b4b1ecfda914a27585fd9a486bbaa2.tar.lz yt-local-a1d3cc5045b4b1ecfda914a27585fd9a486bbaa2.tar.xz yt-local-a1d3cc5045b4b1ecfda914a27585fd9a486bbaa2.zip |
update formats
Diffstat (limited to 'youtube/yt_data_extract')
-rw-r--r-- | youtube/yt_data_extract/watch_extraction.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/youtube/yt_data_extract/watch_extraction.py b/youtube/yt_data_extract/watch_extraction.py index 59c5a51..e7e0d74 100644 --- a/youtube/yt_data_extract/watch_extraction.py +++ b/youtube/yt_data_extract/watch_extraction.py @@ -111,10 +111,14 @@ _formats = { '_rtmp': {'protocol': 'rtmp'}, # av01 video only formats sometimes served with "unknown" codecs - '394': {'vcodec': 'av01.0.05M.08'}, - '395': {'vcodec': 'av01.0.05M.08'}, - '396': {'vcodec': 'av01.0.05M.08'}, - '397': {'vcodec': 'av01.0.05M.08'}, + '394': {'ext': 'mp4', 'height': 144, 'format_note': 'DASH video', 'vcodec': 'av01.0.00M.08'}, + '395': {'ext': 'mp4', 'height': 240, 'format_note': 'DASH video', 'vcodec': 'av01.0.00M.08'}, + '396': {'ext': 'mp4', 'height': 360, 'format_note': 'DASH video', 'vcodec': 'av01.0.01M.08'}, + '397': {'ext': 'mp4', 'height': 480, 'format_note': 'DASH video', 'vcodec': 'av01.0.04M.08'}, + '398': {'ext': 'mp4', 'height': 720, 'format_note': 'DASH video', 'vcodec': 'av01.0.05M.08'}, + '399': {'ext': 'mp4', 'height': 1080, 'format_note': 'DASH video', 'vcodec': 'av01.0.08M.08'}, + '400': {'ext': 'mp4', 'height': 1440, 'format_note': 'DASH video', 'vcodec': 'av01.0.12M.08'}, + '401': {'ext': 'mp4', 'height': 2160, 'format_note': 'DASH video', 'vcodec': 'av01.0.12M.08'}, } |