mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-23 00:07:49 +00:00
[washingtonpost] remove unnecessary code
This commit is contained in:
parent
0c50eeb987
commit
b1e9ebd080
1 changed files with 0 additions and 6 deletions
|
@ -74,12 +74,6 @@ class WashingtonPostIE(InfoExtractor):
|
||||||
'vcodec': s.get('videoCodec') if has_width else 'none',
|
'vcodec': s.get('videoCodec') if has_width else 'none',
|
||||||
'filesize': int_or_none(s.get('fileSize')),
|
'filesize': int_or_none(s.get('fileSize')),
|
||||||
'url': s_url,
|
'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')
|
source_media_url = video_data.get('sourceMediaURL')
|
||||||
if source_media_url:
|
if source_media_url:
|
||||||
|
|
Loading…
Reference in a new issue