Recent Changes - Search:

LiveStreamsPro

PmWiki

pmwiki.org

edit SideBar

Proxy

Proxy support in LSPRO

You can specify the proxy for regex as well as for the player. For regex, add the <proxy> tag with ip and port format like <proxy>proxyip_or_host:proxy_port</proxy> or <proxy>user:password@proxyip_or_host:proxy_port</proxy> if the proxy requires authentication.

If you want to play the final link via proxy too, then the link should end with $PLAYERPROXY$=proxyip_or_host:proxy_port or $PLAYERPROXY$=user:password@proxyip_or_host:proxy_port like for example <link>http://mylinkToServer.com/file.m3u8?user=1$PLAYERPROXY$=14.139.236.210:8080</link>

For instance, if you want to read the youtube page which is only available from India, you can get a regex and then once you got the URL, if you want to play the url using the proxy too, then following is the sample where we are playing geo-restricted youtube video.

Example:

<item>
<title>Test Youtube With Proxy</title>
<link>$doregex[url-quote-manifest]$PLAYERPROXY$=14.139.236.210:8080</link>

<regex>
<name>url-quote-manifest</name>
<expres>$pyFunction:urllib.unquote('$doregex[jsonurlfinal2]')</expres>
<page></page>
</regex>

<regex>
<name>jsonurlfinal2</name>
<expres>0026type=video.*?url=(http.*?videoplayback.*?)\\</expres>
<page>https://www.youtube.com/watch?v=lBcQ5wXrXIc<page>
<proxy>14.139.236.210:8080</proxy>
<refer>Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12H143 Safari/600.1.4</refer>
</regex>
</item>


Since it all depends on the proxy, so it may not work or will take couple of tries. If you have better/reliable proxy then you can try that too. Just make sure you are able to use that proxy in a browser and it should work before you try in kodi.

Edit - History - Print - Recent Changes - Search
Page last modified on February 26, 2016, at 07:28 AM
Free Web Hosting