mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Add language_code from response
This commit is contained in:
parent
3130ff2816
commit
9fc773b5c0
@ -301,11 +301,13 @@ def parse_media_format(format_dict):
|
|||||||
format_str = f'{height}P'
|
format_str = f'{height}P'
|
||||||
else:
|
else:
|
||||||
format_str = None
|
format_str = None
|
||||||
|
language = format_dict.get('language', None)
|
||||||
return {
|
return {
|
||||||
'id': format_dict.get('format_id', ''),
|
'id': format_dict.get('format_id', ''),
|
||||||
'format': format_str,
|
'format': format_str,
|
||||||
'format_note': format_dict.get('format_note', ''),
|
'format_note': format_dict.get('format_note', ''),
|
||||||
'format_verbose': format_dict.get('format', ''),
|
'format_verbose': format_dict.get('format', ''),
|
||||||
|
'language_code': language,
|
||||||
'height': height,
|
'height': height,
|
||||||
'width': width,
|
'width': width,
|
||||||
'vcodec': vcodec,
|
'vcodec': vcodec,
|
||||||
|
Loading…
Reference in New Issue
Block a user