From d0e7a64e92c349bd2abfeda07e17a23479e2efd5 Mon Sep 17 00:00:00 2001 From: nixxo Date: Tue, 3 Jan 2023 21:25:53 +0100 Subject: [PATCH] fixed test_InfoExtractor --- test/test_InfoExtractor.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/test/test_InfoExtractor.py b/test/test_InfoExtractor.py index fda4d3430..242a26020 100644 --- a/test/test_InfoExtractor.py +++ b/test/test_InfoExtractor.py @@ -624,14 +624,6 @@ def test_parse_m3u8_formats(self): 'img_bipbop_adv_example_fmp4', 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8', [{ - 'format_id': 'aud1-English', - 'url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/a1/prog_index.m3u8', - 'manifest_url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8', - 'language': 'en', - 'ext': 'mp4', - 'protocol': 'm3u8_native', - 'audio_ext': 'mp4', - }, { 'format_id': 'aud2-English', 'url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/a2/prog_index.m3u8', 'manifest_url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8', @@ -647,6 +639,14 @@ def test_parse_m3u8_formats(self): 'ext': 'mp4', 'protocol': 'm3u8_native', 'audio_ext': 'mp4', + }, { + 'format_id': 'aud1-English', + 'url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/a1/prog_index.m3u8', + 'manifest_url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8', + 'language': 'en', + 'ext': 'mp4', + 'protocol': 'm3u8_native', + 'audio_ext': 'mp4', }, { 'format_id': '530', 'url': 'https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/v2/prog_index.m3u8', @@ -1047,6 +1047,7 @@ def test_parse_m3u8_formats(self): 'ext': 'mp4', 'protocol': 'm3u8_native', 'vcodec': 'none', + 'acodec': 'mp4a', 'audio_ext': 'mp4', 'video_ext': 'none', }, { @@ -1058,6 +1059,7 @@ def test_parse_m3u8_formats(self): 'ext': 'mp4', 'protocol': 'm3u8_native', 'vcodec': 'none', + 'acodec': 'mp4a', 'audio_ext': 'mp4', 'video_ext': 'none', }, { @@ -1132,6 +1134,7 @@ def test_parse_m3u8_formats(self): 'ext': 'mp4', 'protocol': 'm3u8_native', 'vcodec': 'none', + 'acodec': 'mp4a.40.2', 'audio_ext': 'mp4', 'video_ext': 'none', }, { @@ -1143,6 +1146,7 @@ def test_parse_m3u8_formats(self): 'ext': 'mp4', 'protocol': 'm3u8_native', 'vcodec': 'none', + 'acodec': 'mp4a.40.2', 'audio_ext': 'mp4', 'video_ext': 'none', }, { @@ -1154,6 +1158,7 @@ def test_parse_m3u8_formats(self): 'ext': 'mp4', 'protocol': 'm3u8_native', 'vcodec': 'none', + 'acodec': 'mp4a.40.2', 'audio_ext': 'mp4', 'video_ext': 'none', }, {