From: Sergey M․ Date: Sat, 15 Oct 2016 17:08:46 +0000 (+0700) Subject: [lynda] Fix height for prioritized streams X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ea8aefd1d7d5935a7953c1ac76bb0f9b0ca3c4a5;p=youtube-dl [lynda] Fix height for prioritized streams --- diff --git a/youtube_dl/extractor/lynda.py b/youtube_dl/extractor/lynda.py index 666b1c452..f4dcfd93f 100644 --- a/youtube_dl/extractor/lynda.py +++ b/youtube_dl/extractor/lynda.py @@ -200,7 +200,7 @@ class LyndaIE(LyndaBaseIE): for prioritized_stream_id, prioritized_stream in prioritized_streams.items(): formats.extend([{ 'url': video_url, - 'width': int_or_none(format_id), + 'height': int_or_none(format_id), 'format_id': '%s-%s' % (prioritized_stream_id, format_id), } for format_id, video_url in prioritized_stream.items()])