]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[udemy] Drop outputs' formats
authorSergey M․ <dstftw@gmail.com>
Sat, 26 Mar 2016 17:55:07 +0000 (23:55 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 26 Mar 2016 17:55:07 +0000 (23:55 +0600)
Always results in 403

youtube_dl/extractor/udemy.py

index 5a6de998252bcc74b4768b71a8d1cd3d914fdeb4..6a3dcb8d6dc7b3d35735278f3b9ce123fa37e746 100644 (file)
@@ -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')