aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/anvato.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-04-25 22:07:10 +0700
committerSergey M․ <dstftw@gmail.com>2017-04-27 21:53:17 +0700
commitff99fe529e52b2465f1d973e69df01a6391568d6 (patch)
treeefbe250684068fdd6fdcb129d0fdc4fb7031fb4e /youtube_dl/extractor/anvato.py
parente8bfe2a946eda74f16af8734c35fba8c223e41fa (diff)
Don't list master m3u8 playlists in format list (closes #12832)
Diffstat (limited to 'youtube_dl/extractor/anvato.py')
-rw-r--r--youtube_dl/extractor/anvato.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/youtube_dl/extractor/anvato.py b/youtube_dl/extractor/anvato.py
index 623f44dce..9fd91c2f6 100644
--- a/youtube_dl/extractor/anvato.py
+++ b/youtube_dl/extractor/anvato.py
@@ -178,12 +178,7 @@ class AnvatoIE(InfoExtractor):
}
if ext == 'm3u8' or media_format in ('m3u8', 'm3u8-variant'):
- # Not using _extract_m3u8_formats here as individual media
- # playlists are also included in published_urls.
- if tbr is None:
- formats.append(self._m3u8_meta_format(video_url, ext='mp4', m3u8_id='hls'))
- continue
- else:
+ if tbr is not None:
a_format.update({
'format_id': '-'.join(filter(None, ['hls', compat_str(tbr)])),
'ext': 'mp4',