]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[limelight:media] improve http formats extraction
authorRemita Amine <remitamine@gmail.com>
Wed, 28 Sep 2016 15:34:27 +0000 (16:34 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 28 Sep 2016 15:34:27 +0000 (16:34 +0100)
youtube_dl/extractor/limelight.py

index 6752ffee23140b17389be127ae2a4e3c11ee5582..b7bfa7a6d524e4a5ebd190947b52a369a211e753 100644 (file)
@@ -59,7 +59,7 @@ class LimelightBaseIE(InfoExtractor):
                     format_id = 'rtmp'
                     if stream.get('videoBitRate'):
                         format_id += '-%d' % int_or_none(stream['videoBitRate'])
-                    http_url = 'http://%s/%s' % (rtmp.group('host').replace('csl.', 'cpl.'), rtmp.group('playpath')[4:])
+                    http_url = 'http://cpl.delvenetworks.com/' + rtmp.group('playpath')[4:]
                     urls.append(http_url)
                     http_fmt = fmt.copy()
                     http_fmt.update({