1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 16:26:40 +00:00

[lynda] Fix height for prioritized streams

This commit is contained in:
Sergey M․ 2016-10-16 00:08:46 +07:00
parent 6edfc40a0e
commit ea8aefd1d7
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -200,7 +200,7 @@ class LyndaIE(LyndaBaseIE):
for prioritized_stream_id, prioritized_stream in prioritized_streams.items(): for prioritized_stream_id, prioritized_stream in prioritized_streams.items():
formats.extend([{ formats.extend([{
'url': video_url, 'url': video_url,
'width': int_or_none(format_id), 'height': int_or_none(format_id),
'format_id': '%s-%s' % (prioritized_stream_id, format_id), 'format_id': '%s-%s' % (prioritized_stream_id, format_id),
} for format_id, video_url in prioritized_stream.items()]) } for format_id, video_url in prioritized_stream.items()])