]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/downloader/hls.py
Option to choose different downloader for different protocols
[yt-dlp.git] / yt_dlp / downloader / hls.py
index d09bfa3aa83c7da644b0523391b03e417fac4ed7..67b09144d6048e6dd6c357f3042bffd11069edeb 100644 (file)
@@ -32,7 +32,7 @@
 class HlsFD(FragmentFD):
     """
     Download segments in a m3u8 manifest. External downloaders can take over
-    the fragment downloads by supporting the 'frag_urls' protocol and
+    the fragment downloads by supporting the 'm3u8_frag_urls' protocol and
     re-defining 'supports_manifest' function
     """
 
@@ -95,7 +95,7 @@ def real_download(self, filename, info_dict):
             #     fd.add_progress_hook(ph)
             return fd.real_download(filename, info_dict)
 
-        real_downloader = _get_real_downloader(info_dict, 'frag_urls', self.params, None)
+        real_downloader = _get_real_downloader(info_dict, 'm3u8_frag_urls', self.params, None)
         if real_downloader and not real_downloader.supports_manifest(s):
             real_downloader = None
         if real_downloader: