projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't list master m3u8 playlists in format list (closes #12832)
[youtube-dl]
/
youtube_dl
/
extractor
/
anvato.py
diff --git
a/youtube_dl/extractor/anvato.py
b/youtube_dl/extractor/anvato.py
index 623f44dceda866f1d4f8c947536effde11758d32..9fd91c2f6e042f0368448dc8ab1fa28e6e207c48 100644
(file)
--- 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'):
}
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',
a_format.update({
'format_id': '-'.join(filter(None, ['hls', compat_str(tbr)])),
'ext': 'mp4',