1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 08:26:50 +00:00

[udemy] Drop outputs' formats

Always results in 403
This commit is contained in:
Sergey M․ 2016-03-26 23:55:07 +06:00
parent 62f55aa68a
commit f973e5d54e

View 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')