Skip to content

A feature-rich command-line audio/video downloader

[udemy] Drop outputs' formats

Sergey M․f973e5d54e23
diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py
index 5a6de99825..6a3dcb8d6d 100644
--- a/youtube_dl/extractor/udemy.py
+++ b/youtube_dl/extractor/udemy.py
@@ -228,10 +228,6 @@ class UdemyIE(InfoExtractor):
f['format_id'] = format_id
return f
- for format_id, output in outputs.items():
- if isinstance(output, dict) and output.get('url'):
- formats.append(extract_output_format(output))
-
download_urls = asset.get('download_urls')
if isinstance(download_urls, dict):
video = download_urls.get('Video')