forked from minhngoc25a/yt-dlc
[skyitalia] fixed coding conventions
This commit is contained in:
parent
81a20463a4
commit
920ad13673
|
@ -33,11 +33,11 @@ class SkyItaliaBaseIE(InfoExtractor):
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
for q, r in self._RES.items():
|
for q, r in self._RES.items():
|
||||||
key = 'web_' + q + '_url'
|
key = 'web_%s_url' % q
|
||||||
if key not in video_data:
|
if key not in video_data:
|
||||||
continue
|
continue
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': video_data[key],
|
'url': video_data.get(key),
|
||||||
'format_id': q,
|
'format_id': q,
|
||||||
'width': r[0],
|
'width': r[0],
|
||||||
'height': r[1]
|
'height': r[1]
|
||||||
|
|
Loading…
Reference in New Issue