From f973e5d54e233c139d0b407b5772ff4966c8fa30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sat, 26 Mar 2016 23:55:07 +0600 Subject: [udemy] Drop outputs' formats Always results in 403 --- youtube_dl/extractor/udemy.py | 4 ---- 1 file changed, 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') -- cgit v1.2.3