I need python expert to modifythis plugin if you had a litlle of time to spend on service.iptvsimple.plugin
here a link https://mega.nz/#!P7Q3lY7C!y_23B3yYiI1bkeyYQuQOmJlJ2QO2j1qq-cM5qJWEeJY
this plugin make simple regex in LSP playable with iptvsimpleclient addon as
Code:
but in fact the service.iptvsimple.plugin does not able to play python regex
like this
Code:
in 2nd act
can you make it possible to have MULTILINK ( LSP function) playable too
Code:exemple:
may can someone make it possible
it will be much appreciated
thanks in advance
Best Regards
here a link https://mega.nz/#!P7Q3lY7C!y_23B3yYiI1bkeyYQuQOmJlJ2QO2j1qq-cM5qJWEeJY
this plugin make simple regex in LSP playable with iptvsimpleclient addon as
Code:
Code:
<item>
<title>TV5-Maghreb</title>
<link>$doregex[getlink]|User-Agent=Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36&Cookie=__sharethis_cookie_test__=1&Referer=https://www.mytvonline.org/fr/TV5-maghreb.php</link>
<regex>
<name>getlink</name>
<expres>MO="(.*?)"</expres>
<page>https://pastebin.com/raw/aRAqKsaY</page>
</regex>
</item>
but in fact the service.iptvsimple.plugin does not able to play python regex
like this
Code:
Code:
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
import re,requests
ua='Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36'
url=re.findall('"url":"([^"]+)',page_data)[0].replace('\\','')
return url+'|'+ua
]]></expres>
can you make it possible to have MULTILINK ( LSP function) playable too
Code:exemple:
Code:
<item>
<title>multilink_test</title>
<multilink>
<link>http://trtcanlitv-lh.akamaihd.net/i/[email protected]/master.m3u8$$lsname=TRT</link>
<link>http://mecliscanlitv-lh.akamaihd.net/i/[email protected]/master.m3u8</link>
<link>http://trtcanlitv-lh.akamaihd.net/i/[email protected]/master.m3u8</link>
</multilink>
</item>
may can someone make it possible
it will be much appreciated
thanks in advance
Best Regards