Minor refactoring
This commit is contained in:
parent
99a61908b8
commit
4c685cbdde
@ -63,9 +63,9 @@ class PietsmietIE(OnceIE):
|
|||||||
format_width = float(format_height) * (16 / 9)
|
format_width = float(format_height) * (16 / 9)
|
||||||
|
|
||||||
formats.append({
|
formats.append({
|
||||||
|
'format_id': 'http-{0}'.format(label),
|
||||||
'url': "https:{0}".format(http_video['file']),
|
'url': "https:{0}".format(http_video['file']),
|
||||||
'ext': http_video.get('type'),
|
'ext': http_video.get('type'),
|
||||||
'format_id': 'http-{0}'.format(label),
|
|
||||||
'width': int_or_none(format_width),
|
'width': int_or_none(format_width),
|
||||||
'height': format_height,
|
'height': format_height,
|
||||||
'fps': 30.0,
|
'fps': 30.0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user