diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-10-18 23:28:57 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-10-18 23:52:44 +0530 |
commit | d5d1df8afdd532cc889f9d95be0740668a0776fe (patch) | |
tree | 86f30088a9c90d60ddd581618165b3446fa39f2e /yt_dlp/YoutubeDL.py | |
parent | cd5df121f3577178cb73bafe886677da9452dc42 (diff) | |
download | hypervideo-pre-d5d1df8afdd532cc889f9d95be0740668a0776fe.tar.lz hypervideo-pre-d5d1df8afdd532cc889f9d95be0740668a0776fe.tar.xz hypervideo-pre-d5d1df8afdd532cc889f9d95be0740668a0776fe.zip |
[cleanup Misc
Closes #5162
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 13725cddc..42780e794 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -548,7 +548,7 @@ class YoutubeDL: # NB: Keep in sync with the docstring of extractor/common.py 'url', 'manifest_url', 'manifest_stream_number', 'ext', 'format', 'format_id', 'format_note', 'width', 'height', 'resolution', 'dynamic_range', 'tbr', 'abr', 'acodec', 'asr', 'audio_channels', - 'vbr', 'fps', 'vcodec', 'container', 'filesize', 'filesize_approx', + 'vbr', 'fps', 'vcodec', 'container', 'filesize', 'filesize_approx', 'rows', 'columns', 'player_url', 'protocol', 'fragment_base_url', 'fragments', 'is_from_start', 'preference', 'language', 'language_preference', 'quality', 'source_preference', 'http_headers', 'stretched_ratio', 'no_resume', 'has_drm', 'downloader_options', @@ -3586,7 +3586,7 @@ class YoutubeDL: format_field(f, 'ext'), self.format_resolution(f), self._format_note(f) - ] for f in formats if f.get('preference') is None or f['preference'] >= -1000] + ] for f in formats if (f.get('preference') or 0) >= -1000] return render_table(['format code', 'extension', 'resolution', 'note'], table, extra_gap=1) def simplified_codec(f, field): |