mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 17:22:31 +01:00
[udemy] Drop outputs' formats
Always results in 403
This commit is contained in:
parent
62f55aa68a
commit
f973e5d54e
@ -228,10 +228,6 @@ def add_output_format_meta(f, key, format_id):
|
|||||||
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…
Reference in New Issue
Block a user