1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-07 00:23:39 +08:00

[YoutubeDL] remove duplicate check for formats existence

This commit is contained in:
remitamine
2016-01-01 16:02:32 +01:00
Unverified
parent f3a95abbfc
commit a5e50c2ebe
-2
View File
@@ -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