aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-03-30 01:24:15 +0800
committerJesús <heckyel@hyperbola.info>2022-03-30 01:24:15 +0800
commit950cc067b8c41ac246deb4725177a372c95d8341 (patch)
tree66d5284ff86faec8c3000be1e7d0bd856b4c4dbe /test/helper.py
parent7a74bc5d1e54299e51b73492e09c70da994f4b35 (diff)
parente7870111e83033e0ac728d5a2d565d1eb146c335 (diff)
downloadhypervideo-pre-950cc067b8c41ac246deb4725177a372c95d8341.tar.lz
hypervideo-pre-950cc067b8c41ac246deb4725177a372c95d8341.tar.xz
hypervideo-pre-950cc067b8c41ac246deb4725177a372c95d8341.zip
updated from upstream | 30/03/2022 at 01:24
Diffstat (limited to 'test/helper.py')
-rw-r--r--test/helper.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/helper.py b/test/helper.py
index 1070e0668..28c21b2eb 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -196,15 +196,7 @@ def expect_dict(self, got_dict, expected_dict):
def sanitize_got_info_dict(got_dict):
IGNORED_FIELDS = (
- # Format keys
- 'url', 'manifest_url', 'format', 'format_id', 'format_note', 'width', 'height', 'resolution',
- 'dynamic_range', 'tbr', 'abr', 'acodec', 'asr', 'vbr', 'fps', 'vcodec', 'container', 'filesize',
- 'filesize_approx', 'player_url', 'protocol', 'fragment_base_url', 'fragments', 'preference',
- 'language', 'language_preference', 'quality', 'source_preference', 'http_headers',
- 'stretched_ratio', 'no_resume', 'has_drm', 'downloader_options',
-
- # RTMP formats
- 'page_url', 'app', 'play_path', 'tc_url', 'flash_version', 'rtmp_live', 'rtmp_conn', 'rtmp_protocol', 'rtmp_real_time',
+ *YoutubeDL._format_fields,
# Lists
'formats', 'thumbnails', 'subtitles', 'automatic_captions', 'comments', 'entries',