Browse Source

Remove duplicate dictionary keys

codesparkle 10 years ago
parent
commit
5468ff4d91
2 changed files with 0 additions and 2 deletions
  1. 0 1
      youtube_dl/YoutubeDL.py
  2. 0 1
      youtube_dl/extractor/appletrailers.py

+ 0 - 1
youtube_dl/YoutubeDL.py

@@ -1075,7 +1075,6 @@ class YoutubeDL(object):
                                 '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'),

+ 0 - 1
youtube_dl/extractor/appletrailers.py

@@ -122,7 +122,6 @@ class AppleTrailersIE(InfoExtractor):
             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,