]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vgtv.py
Allow extractors to specify section_start/end for clips
[yt-dlp.git] / yt_dlp / extractor / vgtv.py
index 10083cd24158a348c1e3ed5b804a530639ba2add..6564b7b0bd6014bfbd3a99ed15fc4ec0aa33f7ea 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 import re
 
 from .common import InfoExtractor
@@ -195,9 +192,7 @@ def _real_extract(self, url):
         hls_url = streams.get('hls')
         if hls_url:
             formats.extend(self._extract_m3u8_formats(
-                hls_url, video_id, 'mp4',
-                entry_protocol='m3u8' if is_live else 'm3u8_native',
-                m3u8_id='hls', fatal=False))
+                hls_url, video_id, 'mp4', live=is_live, m3u8_id='hls', fatal=False))
 
         hds_url = streams.get('hds')
         if hds_url: