|
SLProxyStreamLink script module support
<item> <title>SLPROXY</title> <slproxy>http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8|Referer=google.com&User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1</slproxy> </item> <item> <title>SLPROXY with protocol and quality</title> <slproxy>hlsvariant://http://cdn-fms.rbs.com.br/vod/hls_sample1_manifest.m3u8$$QUALITY=500k$$|Referer=google.com&User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1</slproxy> <thumbnail></thumbnail> </item> Resolve 24h using RTVE plugin
<item> <title>SLPROXY as resolver only</title> <slproxy>http://www.rtve.es/directo/canal-24h$$RESOLVEONLY$$</slproxy> <thumbnail></thumbnail> </item>
<item> <title>SLPROXY with custom key uri</title> <slproxy>hlsvariant://http://hlslive-l3c.med2.med.nhl.com/token=exp=1537664460~id=1537288867600/master_wired60.m3u8|User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1&CustomKeyUri=https://107.6.182.249/ws/media/mf/v2.3/key/silk/mediaid/61113703/kid/70119190",IV=0x7AB17A1AE22ABB576CB3F4EE3A5077BF</slproxy> <thumbnail></thumbnail> </item> Since version 2.9.7 of LSPRO and 0.3.4 of SLProxy, you can rewrite VOD playlists with a regular expression search term and a replacement string. The format is a Json dict like {"regex":"my_regex_string", "repl":"my_replacement_string"} which then has to be base64 encoded and added to the link url using $$M3U8MOD=base64encodeddict$$. Note that streamlink will not process the playlist, it will be rewritten by the proxy and passed to the Kodi player. <item> <item> <title>SLPROXY TEST VOD rewrite</title> <slproxy>hls://http://my_vod_url$$M3U8MOD=eyJyZWdleCI6Im15X3JlZ2V4X3N0cmluZyIsICJyZXBsIjoibXlfcmVwbGFjZW1lbnRfc3RyaW5nIn0=$$</slproxy> <thumbnail></thumbnail> </item> see also https://streamlink.github.io/cli.html |