From: codesparkle Date: Fri, 30 Jan 2015 09:11:51 +0000 (+1100) Subject: Remove duplicate dictionary keys X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5468ff4d917eeb292ce0bfe7cf13eef75cccae19;p=youtube-dl Remove duplicate dictionary keys --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 14e92ddcf..ce3abaee3 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1075,7 +1075,6 @@ class YoutubeDL(object): 'requested_formats': formats_info, 'format': rf, 'format_id': rf, - 'ext': formats_info[0]['ext'], 'width': formats_info[0].get('width'), 'height': formats_info[0].get('height'), 'resolution': formats_info[0].get('resolution'), diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py index 70621946d..287f71e07 100644 --- a/youtube_dl/extractor/appletrailers.py +++ b/youtube_dl/extractor/appletrailers.py @@ -122,7 +122,6 @@ class AppleTrailersIE(InfoExtractor): playlist.append({ '_type': 'video', 'id': video_id, - 'title': title, 'formats': formats, 'title': title, 'duration': duration,