mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 10:47:30 +01:00
[leeco] format_id should be strings
This commit is contained in:
parent
24ca0e9c0b
commit
8a370aedac
@ -338,7 +338,7 @@ def b64decode(s):
|
|||||||
formats.append({
|
formats.append({
|
||||||
'url': url,
|
'url': url,
|
||||||
'ext': determine_ext(decoded_url),
|
'ext': determine_ext(decoded_url),
|
||||||
'format_id': int_or_none(play_url.get('vtype')),
|
'format_id': str_or_none(play_url.get('vtype')),
|
||||||
'format_note': str_or_none(play_url.get('definition')),
|
'format_note': str_or_none(play_url.get('definition')),
|
||||||
'width': int_or_none(play_url.get('vwidth')),
|
'width': int_or_none(play_url.get('vwidth')),
|
||||||
'height': int_or_none(play_url.get('vheight')),
|
'height': int_or_none(play_url.get('vheight')),
|
||||||
|
Loading…
Reference in New Issue
Block a user