From a5e50c2ebec539965c059222190ebe2a0f0cccbc Mon Sep 17 00:00:00 2001 From: remitamine Date: Fri, 1 Jan 2016 16:02:32 +0100 Subject: [PATCH] [YoutubeDL] remove duplicate check for formats existence --- youtube_dl/YoutubeDL.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index f25b1d2aa..50425b8d7 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1208,8 +1208,6 @@ class YoutubeDL(object): raise ExtractorError('Missing "id" field in extractor result') if 'title' not in info_dict: raise ExtractorError('Missing "title" field in extractor result') - if not info_dict.get('formats'): - raise ExtractorError('No video formats found') if 'playlist' not in info_dict: # It isn't part of a playlist