diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 7f054cdff8..4c238c5550 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1074,6 +1074,7 @@ def process_video_result(self, info_dict, download=True): selected_format = { 'requested_formats': formats_info, 'format': rf, + 'format_id': rf, 'ext': formats_info[0]['ext'], 'width': formats_info[0].get('width'), 'height': formats_info[0].get('height'),