[washingtonpost] remove unnecessary code
authorremitamine <remitamine@gmail.com>
Mon, 23 May 2016 01:30:12 +0000 (02:30 +0100)
committerremitamine <remitamine@gmail.com>
Mon, 23 May 2016 01:30:12 +0000 (02:30 +0100)
youtube_dl/extractor/washingtonpost.py

index 71349d4875f2ec2efee796419146fb27205f29d3..c2c5bae0579a1e4f06b0604477eec8c3ef571fce 100644 (file)
@@ -74,12 +74,6 @@ class WashingtonPostIE(InfoExtractor):
                     'vcodec': s.get('videoCodec') if has_width else 'none',
                     'filesize': int_or_none(s.get('fileSize')),
                     'url': s_url,
-                    'ext': 'mp4',
-                    'protocol': {
-                        'mp4': 'http',
-                        'ts': 'm3u8_native',
-                        'hls': 'm3u8_native',
-                    }.get(s.get('type')),
                 })
         source_media_url = video_data.get('sourceMediaURL')
         if source_media_url: