|
LiveResolverUse Natko's LiveResolver script module to resolve streams In Version 2.4.4 added support for LiveResolver. Liveresolver is same concept as urlresolver but for live streams, Natko has done a great job for maintaining it. <item> <title>live resolver filmon-bbc</title> <link>$doregex[GetPageUrl]</link> <regex> <name>GetPageUrl</name> <expres><![CDATA[#$pyFunction def GetLSProData(page_data,Cookie_Jar,m,url='http://www.filmon.com/channel/bbc-one'): import liveresolver u = liveresolver.resolve(url) return u ]]></expres> <page></page> <cookieJar></cookieJar> </regex> </item> <item> <title>live url wizhd</title> <link>$doregex[GetPageUrl]</link> <regex> <name>GetPageUrl</name> <expres><![CDATA[#$pyFunction def GetLSProData(page_data,Cookie_Jar,m,url='http://wizhdsports.sx/live/stream12.php'): import liveresolver u = liveresolver.resolve(url) return u ]]></expres> <page></page> <cookieJar></cookieJar> </regex> </item> Both examples are sending specific url to liveresolver and playing it. The url must be supported by liveresolver. Obviously you can write your own regex too to parse both the websites, but why not use something out of the box to save time. |