mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 04:17:16 -05:00
parent
37242e56f2
commit
86c66b2d3e
1 changed files with 1 additions and 1 deletions
|
@ -2231,7 +2231,7 @@ def is_wellformed(f):
|
||||||
if self.params.get('list_thumbnails'):
|
if self.params.get('list_thumbnails'):
|
||||||
self.list_thumbnails(info_dict)
|
self.list_thumbnails(info_dict)
|
||||||
if self.params.get('listformats'):
|
if self.params.get('listformats'):
|
||||||
if not info_dict.get('formats'):
|
if not info_dict.get('formats') and not info_dict.get('url'):
|
||||||
raise ExtractorError('No video formats found', expected=True)
|
raise ExtractorError('No video formats found', expected=True)
|
||||||
self.list_formats(info_dict)
|
self.list_formats(info_dict)
|
||||||
if self.params.get('listsubtitles'):
|
if self.params.get('listsubtitles'):
|
||||||
|
|
Loading…
Reference in a new issue