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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user