]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/downloader/dash.py
Option to choose different downloader for different protocols
[yt-dlp.git] / yt_dlp / downloader / dash.py
index 2f29ff8f2493fd6a2c5b86333815cf5ec9961a05..65dc69f7ef780403c485698e8240cf3884c4fd86 100644 (file)
@@ -20,7 +20,7 @@
 class DashSegmentsFD(FragmentFD):
     """
     Download segments in a DASH manifest. External downloaders can take over
-    the fragment downloads by supporting the 'frag_urls' protocol
+    the fragment downloads by supporting the 'dash_frag_urls' protocol
     """
 
     FD_NAME = 'dashsegments'
@@ -30,7 +30,7 @@ def real_download(self, filename, info_dict):
         fragments = info_dict['fragments'][:1] if self.params.get(
             'test', False) else info_dict['fragments']
 
-        real_downloader = _get_real_downloader(info_dict, 'frag_urls', self.params, None)
+        real_downloader = _get_real_downloader(info_dict, 'dash_frag_urls', self.params, None)
 
         ctx = {
             'filename': filename,