Hey guys,
I need help with a regex for a stream, to use in Kodi's Livestreams Pro. I hope I'm in the right place here
I have this URL:
And so far I have this regex:Code:"hls":"https:\/\/live85.vkuserlive.com\/620008\/live\/0\/e0QTF6MUpgOU9vQUlFeU5SVQ\/playlist.m3u8?extra=JX7sYU9eCJn-WNVusVXOXf6U0SEaCVoRDQP6VEuwYq5vKJLWGieaPpywF41uTZd8CyrVJ2UvBWWrrLWJWZ-VYnWs82Kk-XjIYy2GK3fuQyKhGuLuGaZbrhWbw68"
However the link won't open and I suspect it's got something to do with replacing the chars \/ for a / that goes wrong.Code:<item> <title>streamtest</title> <link>$doregex[get-final]</link> <regex> <name>get-final</name> <expres>$pyFunction:'$doregex[get-m3u8]'.replace('\\/','\/')</expres> <page></page> </regex> <regex> <name>get-m3u8</name> <expres>hls":"(.*?)"</express> <page>https://vk.com/video_ext.php?oid=447032045&id=456239055&hash=87967896e0c868e4&autoplay=1</page> </regex> </item>
Can anybody help me out here? Thanks so much already!
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Help with Regex and m3u streams
By Eliran in forum Newbie / General discussionsReplies: 0Last Post: 12th Jun 2016, 01:09 -
Help with REGEX
By Eliran in forum Capturing and VCRReplies: 0Last Post: 11th Jun 2016, 11:07 -
hi guys is it possilble to get this working in a regex
By ,arkus88 in forum Newbie / General discussionsReplies: 2Last Post: 4th Apr 2016, 02:36 -
hi guys is it possilble to get this working in a regex
By ,arkus88 in forum Video Streaming DownloadingReplies: 1Last Post: 28th Mar 2016, 19:14