mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-21 16:45:41 +07:00
Let extractors omit ext in formats
This commit is contained in:
@@ -71,7 +71,6 @@ def _real_extract(self, url):
|
||||
formats.append({
|
||||
'format_id': format_id,
|
||||
'url': video_url,
|
||||
'ext': video_url[-3:],
|
||||
})
|
||||
if not formats:
|
||||
raise ExtractorError(u'Cannot find any video format!')
|
||||
|
||||
Reference in New Issue
Block a user