mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 18:41:29 +00:00
[skyitalia] fixed coding conventions
This commit is contained in:
parent
81a20463a4
commit
920ad13673
|
@ -33,11 +33,11 @@ def _get_formats(self, video_id, token):
|
||||||
|
|
||||||
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 a new issue