Browse Source

[udemy] Drop outputs' formats

Always results in 403
master
Sergey M․ 8 years ago
parent
commit
f973e5d54e
1 changed files with 0 additions and 4 deletions
  1. 4
      youtube_dl/extractor/udemy.py

4
youtube_dl/extractor/udemy.py

@ -228,10 +228,6 @@ class UdemyIE(InfoExtractor):
f['format_id'] = format_id f['format_id'] = format_id
return f 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') download_urls = asset.get('download_urls')
if isinstance(download_urls, dict): if isinstance(download_urls, dict):
video = download_urls.get('Video') video = download_urls.get('Video')

Loading…
Cancel
Save