mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 10:47:30 +01:00
Remove duplicate dictionary keys
This commit is contained in:
parent
1d2daaea63
commit
5468ff4d91
@ -1075,7 +1075,6 @@ def process_video_result(self, info_dict, download=True):
|
|||||||
'requested_formats': formats_info,
|
'requested_formats': formats_info,
|
||||||
'format': rf,
|
'format': rf,
|
||||||
'format_id': rf,
|
'format_id': rf,
|
||||||
'ext': formats_info[0]['ext'],
|
|
||||||
'width': formats_info[0].get('width'),
|
'width': formats_info[0].get('width'),
|
||||||
'height': formats_info[0].get('height'),
|
'height': formats_info[0].get('height'),
|
||||||
'resolution': formats_info[0].get('resolution'),
|
'resolution': formats_info[0].get('resolution'),
|
||||||
|
@ -122,7 +122,6 @@ def _clean_json(m):
|
|||||||
playlist.append({
|
playlist.append({
|
||||||
'_type': 'video',
|
'_type': 'video',
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': title,
|
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'title': title,
|
'title': title,
|
||||||
'duration': duration,
|
'duration': duration,
|
||||||
|
Loading…
Reference in New Issue
Block a user