mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
[limelight:media] improve http formats extraction
This commit is contained in:
parent
8f0cf20ab9
commit
8bfda726c2
@ -59,7 +59,7 @@ class LimelightBaseIE(InfoExtractor):
|
|||||||
format_id = 'rtmp'
|
format_id = 'rtmp'
|
||||||
if stream.get('videoBitRate'):
|
if stream.get('videoBitRate'):
|
||||||
format_id += '-%d' % int_or_none(stream['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)
|
urls.append(http_url)
|
||||||
http_fmt = fmt.copy()
|
http_fmt = fmt.copy()
|
||||||
http_fmt.update({
|
http_fmt.update({
|
||||||
|
Loading…
Reference in New Issue
Block a user