mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 13:47:15 +08:00
[televizeseznam] fix flake8 check
Co-Authored-By: Ales Jirasek <6615474+schunka@users.noreply.github.com>
This commit is contained in:
parent
03b8e09319
commit
c18a5dbd3e
@ -44,8 +44,8 @@ class TelevizeSeznamIE(InfoExtractor):
|
||||
if v.get('language'):
|
||||
for ext in v.get('urls'):
|
||||
subtitles.setdefault(v['language'], []).append({
|
||||
'ext': ext,
|
||||
'url': urljoin(spl_url, v['urls'].get(ext))
|
||||
'ext': ext,
|
||||
'url': urljoin(spl_url, v['urls'].get(ext))
|
||||
})
|
||||
return subtitles
|
||||
|
||||
@ -59,7 +59,7 @@ class TelevizeSeznamIE(InfoExtractor):
|
||||
'ext': ext
|
||||
}
|
||||
if v.get('resolution'):
|
||||
format.update({ 'width': v['resolution'][0], 'height': v['resolution'][1] })
|
||||
format.update({'width': v['resolution'][0], 'height': v['resolution'][1]})
|
||||
|
||||
formats.append(format)
|
||||
return formats
|
||||
|
Loading…
x
Reference in New Issue
Block a user