]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[lynda] Fix height for prioritized streams
authorSergey M․ <dstftw@gmail.com>
Sat, 15 Oct 2016 17:08:46 +0000 (00:08 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 15 Oct 2016 17:08:46 +0000 (00:08 +0700)
youtube_dl/extractor/lynda.py

index 666b1c452ae779ebab20f9e96e4abf56c3ec5e1f..f4dcfd93fa760878566568636d9c2b864b6c7556 100644 (file)
@@ -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()])