0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[limelight:media] improve http formats extraction

This commit is contained in:
Remita Amine 2016-09-28 16:34:27 +01:00
parent 8f0cf20ab9
commit 8bfda726c2

View file

@ -59,7 +59,7 @@ def _extract_info(self, streams, mobile_urls, properties):
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({