aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/udemy.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-26 23:55:07 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-26 23:55:07 +0600
commitf973e5d54e233c139d0b407b5772ff4966c8fa30 (patch)
treedd6b7f7df81af5d4c1ceb40201f470016daa2510 /youtube_dl/extractor/udemy.py
parent62f55aa68a5409c25457a14289cc859fdd73cc1e (diff)
[udemy] Drop outputs' formats
Always results in 403
Diffstat (limited to 'youtube_dl/extractor/udemy.py')
-rw-r--r--youtube_dl/extractor/udemy.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py
index 5a6de9982..6a3dcb8d6 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')