diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index bd7c87715..ad6a93e02 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1784,7 +1784,7 @@ class InfoExtractor(object): def _parse_m3u8_subtitles(self, m3u8_doc, m3u8_url): """ - Parse subtitles from m3u8 file. + Parse subtitles from m3u8 file. Please avoid downloading the m3u8 twice. """ format_url = lambda u: ( diff --git a/youtube_dl/extractor/tv4.py b/youtube_dl/extractor/tv4.py index e316cdc43..a727eb697 100644 --- a/youtube_dl/extractor/tv4.py +++ b/youtube_dl/extractor/tv4.py @@ -119,7 +119,6 @@ class TV4IE(InfoExtractor): if res: m3u8_doc, urlh = res - m3u8_url = urlh.geturl() subtitles = self._parse_m3u8_subtitles(m3u8_doc, manifest_url) # Hardcode webvtt for now for item in subtitles: