aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-10-16 00:08:46 +0700
committerSergey M․ <dstftw@gmail.com>2016-10-16 00:08:46 +0700
commitea8aefd1d7d5935a7953c1ac76bb0f9b0ca3c4a5 (patch)
treecbbf8c67e4655f2ab5d49e2937489ea26f0197f8
parent6edfc40a0e7a85f7b2ec1721fcad4073e5f58ee2 (diff)
[lynda] Fix height for prioritized streams
-rw-r--r--youtube_dl/extractor/lynda.py2
1 files changed, 1 insertions, 1 deletions
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()])