diff options
author | Remita Amine <remitamine@gmail.com> | 2016-12-10 17:17:13 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2016-12-10 17:22:15 +0100 |
commit | 8821a718cfeca740d42d109411645427d4f8b523 (patch) | |
tree | 221b4d262b611aed65375558ef5d2375e43a6f36 /youtube_dl/extractor/cbc.py | |
parent | 0d7d9f94045868d22493d4932d124170d26511fe (diff) |
[common] recognize hls manifests that contain video only formats(#11394)
Diffstat (limited to 'youtube_dl/extractor/cbc.py')
-rw-r--r-- | youtube_dl/extractor/cbc.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/youtube_dl/extractor/cbc.py b/youtube_dl/extractor/cbc.py index d71fddf58..7c76ceac8 100644 --- a/youtube_dl/extractor/cbc.py +++ b/youtube_dl/extractor/cbc.py @@ -283,11 +283,6 @@ class CBCWatchVideoIE(CBCWatchBaseIE): formats = self._extract_m3u8_formats(re.sub(r'/([^/]+)/[^/?]+\.m3u8', r'/\1/\1.m3u8', m3u8_url), video_id, 'mp4', fatal=False) if len(formats) < 2: formats = self._extract_m3u8_formats(m3u8_url, video_id, 'mp4') - # Despite metadata in m3u8 all video+audio formats are - # actually video-only (no audio) - for f in formats: - if f.get('acodec') != 'none' and f.get('vcodec') != 'none': - f['acodec'] = 'none' self._sort_formats(formats) info = { |