Remove duplicate dictionary keys
authorcodesparkle <adam.thalhammer@outlook.com>
Fri, 30 Jan 2015 09:11:51 +0000 (20:11 +1100)
committercodesparkle <adam.thalhammer@outlook.com>
Fri, 30 Jan 2015 09:11:51 +0000 (20:11 +1100)
youtube_dl/YoutubeDL.py
youtube_dl/extractor/appletrailers.py

index 14e92ddcf7258d60b38b8816005b089a0801cb37..ce3abaee39938701e0ee5c5c22bc6eda2c092dda 100755 (executable)
@@ -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'),
index 70621946d8a8c9de4437d36755d8476f65608318..287f71e076e91a44ea331c995410fbe8b40d178d 100644 (file)
@@ -122,7 +122,6 @@ class AppleTrailersIE(InfoExtractor):
             playlist.append({
                 '_type': 'video',
                 'id': video_id,
-                'title': title,
                 'formats': formats,
                 'title': title,
                 'duration': duration,