TOOLSP
"
WELCOME !

Please ! USE [CODE] tags for your LINKS and CODE.

Favor usar balisas [CODE] para sus vínculos y código.

Merci d'utiliser les balises [CODE] pour vos liens et code.


[code]http://Thank.you[/code]
"
*** Doc. Kodi & PYthon ***
.
.
Python & Modules PY
.
.
.
.
(Video) Cache Kodi
.
.
.
Addons Kodi
.
.
.
Addons Kodi
.
.
*** GITHUB ***
.
.
URLresolver (J.S.) [GIT] +
.
.
.
URLresolver (elD.) [GIT] -
.
.
URLresolver (tvA.) [GIT] -
.
.
.
.
Cloudflare (external) [GIT]
.
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
FRIENDS / PARTNERS

£$π community

créer un forum


UPDATE = service.iptvsimple.plugin.player-1.0.0.zip

Go down

UPDATE = service.iptvsimple.plugin.player-1.0.0.zip Empty UPDATE = service.iptvsimple.plugin.player-1.0.0.zip

Post by Sylphilds on Sat 22 Jun - 6:18

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 £$π 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>

in 2nd act
can you make it possible to have MULTILINK ( £$π function) playable too
Code:exemple:
Code:
Code:

<item>
<title>multilink_test</title>
<multilink>
<link>http://trtcanlitv-lh.akamaihd.net/i/TRTOKUL_1@182245/master.m3u8$$lsname=TRT</link>
<link>http://mecliscanlitv-lh.akamaihd.net/i/MECLISTV_1@127503/master.m3u8</link>
<link>http://trtcanlitv-lh.akamaihd.net/i/TRTOKUL_1@182245/master.m3u8</link>
</multilink>
</item>



may can someone make it possible
it will be much appreciated

thanks in advance
Best Regards

Sylphilds

Messages : 34
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum