1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 08:57:15 +08:00

[televizeseznam] store resoluitons to a format_id

Co-Authored-By: Ales Jirasek <6615474+schunka@users.noreply.github.com>
This commit is contained in:
Petr Vaněk 2020-01-14 18:43:35 +01:00 committed by Petr Vaněk
parent e021db8db6
commit e87b23373b

View File

@ -54,6 +54,7 @@ class TelevizeSeznamIE(InfoExtractor):
formats = []
for r, v in play_list.items():
formats.append({
'format_id': r,
'url': urljoin(spl_url, v['url']),
'width': v['resolution'][0],
'height': v['resolution'][1],