LSP Regex & Makelist Discussion.

faustino

New member
Sep 1, 2020
10
0
1
Regex with token for this site? (OPÇÃO EXTRA HD 2)


https://multicanais.com/sportv-ao-vivo-online-24horashd/


url of channel
https://live.esporteone.com/SPORTV/video.m3u8?token=a0aa2bec6706001352b91e783209115fdf8f66f8-99ee6dc706ce7f115501d85dd0d66b7b-1600054794-1600051194&remote=191.253.108.159
 

gladio

New member
Oct 14, 2018
19
2
3
Can you make this page regex .. Thanks


Code:
#EXTINF:-1 tvg-id="CFTM" tvg-name="TVA" tvg-logo="https://static.epg.best/ca/TVA.ca.png" tvg-chno="3" channel-id="3",TVA
https://tvalive.akamaized.net/hls/live/2012413/tva01/high_1080p/high_1080p.m3u8
 

TRC4

New member
Mar 6, 2016
24
3
3
Netherland
Code:
<item>
<title>[COLOR lime][B]M3U DATA[/B][/COLOR]</title>
<link>$doregex[makelist]|User-Agent=Android</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR lime][B][makelist.param1][/B][/COLOR]</title>
<link>[makelist.param2]</link>
]]></listrepeat>
<expres><![CDATA[,([^']+)\n([^']+)]]></expres>
<page>https://XML_Streaming_Data/</page>
<cookieJar></cookieJar>
</regex>
</item>
 

jamers

New member
Jun 29, 2018
22
0
1
Hi, How I can play this link on livestreamspro ?
hxxp://www.tvsportstvdez.com/cmtv-online-gratis/
Thank you
 

efradncr

Member
Mar 26, 2018
54
1
8
Podrían ayudarme con una makelist de este canal?
Code:
https://www.youtube.com/c/HeavenMusicPlay/playlists
se los agradezco de antemano
 

TheusZs

New member
Aug 16, 2020
3
0
1
Could someone help me with a regex for this site? Select "OPÇÃO 2 (ANDROID E PC)"

Code:
https://canaismax.com/assistir-history-channel-ao-vivo-24-horas-hd
 

makal

Member
Jul 23, 2014
62
16
8
Code:
<item>
  <title>historysd</title>
  <link>https://geralorigin.eu-central-1.edge.mycdn.live/mylive/historysd/video.m3u8|referer=https://canaismax.com/assistir.php?chmax=historysd</link>
  <thumbnail></thumbnail>
</item>
 
  • Like
Reactions: TheusZs

regixman

Member
May 30, 2018
31
0
6
Can help me this?streamwatcher2013
hxxps://sports24.club/tv/v?id=telefoot
a big thank you for your help
 

mustafa19554

Guest
May 17, 2016
28
3
3
Hello, good morning
Can you make this regex please ?

Code:
https://www.showtv.com.tr/dizi/tanitim/ramo/2665
 
Last edited by a moderator:

mustafa19554

Guest
May 17, 2016
28
3
3
with me from 12 part does not work
<item>
<item>
<title>[COLOR lime]RAMO deneme [/COLOR]</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR yellow][makelist.param3][/COLOR]</title>
<link>$doregex[getUrl]</link>
<thumbnail>[makelist.param2]</thumbnail>
<info>[makelist.param4]</info>
]]></listrepeat>
<expres><![CDATA[(?s)class="box box-xs-12".+?a\s*href="/([^"]+).+?data-src="([^"]+).+?"title">([^<]+).+?"description">([^<]+)]]></expres>
<page>https://www.showtv.com.tr/dizi/tanitim/ramo/2665</page>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
list=re.findall('"ht_(?:video_id|embed_link)"(?s)(.*?)<script',page_data)[0].replace('\\','')
fm3u8=re.findall('"ht_files":.+?file":"([^"]+)',list)[0]
if '"1080' in list:
return fm3u8.replace('.m3u8','_1920x1080.mp4')+'|user-agent=ipad&referer=https://www.showtv.com.tr/[makelist.param1]'
elif '"720' in list:
return fm3u8.replace('.m3u8','_1280x720.mp4')+'|user-agent=ipad&referer=https://www.showtv.com.tr/[makelist.param1]'
elif 'ht_mobile' in list:
return re.findall('"ht_mobile_m3u8":"([^"]+)',list)[0]+'|user-agent=ipad&referer=https://www.showtv.com.tr/[makelist.param1]'
else:
source=requests.get(fm3u8,headers={'user-agent':'Mozilla/5.0','referer':'https://www.showtv.com.tr/[makelist.param1]'}).content
m3u8=fm3u8[:42]
if 'x1080' in source:
return m3u8+re.findall('x1080.*\n(.*)',source)[0]+'|user-agent=ipad&referer=https://www.showtv.com.tr/[makelist.param1]'
elif 'x720' in source:
return m3u8+re.findall('x720.*\n(.*)',source)[0]+'|user-agent=ipad&referer=https://www.showtv.com.tr/[makelist.param1]'
else:
return m3u8+re.findall('x480.*\n(.*)',source)[0]+'|user-agent=ipad&referer=https://www.showtv.com.tr/[makelist.param1]'
]]></expres>
<page>https://www.showtv.com.tr/[makelist.param1]</page>
<referer>https://www.showtv.com.tr/dizi/tanitim/ramo/2665</referer>
</regex>
<thumbnail>https://imgs.stargazete.com/imgsdisk/maintmps/2020/01/14/ramo-kimdir-ramo-karakter-653_2-41.jpg</thumbnail>
</item>
 

dantas1990

Member
Apr 10, 2020
37
1
8
Hello, GOod evening

what should i do when this phrase appears on the kodi as soon as i install the addon?


"we failed to reach a server. Erro 7. no address associated with hostname."
 

m5Germany

Member
Mar 20, 2014
47
9
8
@dantas1990,

It sounds like an addon is causing the problem. The two forum threads below explain how to check/repair issue. It might be as easy as "Disabling" the addon - restart Kodi and see if problem is resolved.

https://forum.kodi.tv/showthread.php?tid=208559
and
https://forum.kodi.tv/showthread.php?tid=213863

Hope this is helpful.

m5
 

dantas1990

Member
Apr 10, 2020
37
1
8
Good Evening
Thanks.
I didn't find a solution in these URL'S


I think that in my programming that I did, it is preventing access to that person's device. In mine it works through the pc, not that person. This person uses an ANDROID TV BOX device. I want to find a solution.
 

yoyo

New member
Feb 26, 2020
1
0
1
hello
regex please to
Code:
https://www.verlatele.net
 
Last edited by a moderator:

umonkey

Member
Sep 18, 2012
68
0
6
Can anyone help with this site:
Code:
hxxps://www.premiershiprugby.com/categories/?Category=Full%20Match&CatID=10b4a5e2-bb50-4853-ac44-8bc2e45155ea
Many Thanks
 

tungbeng95

Member
Oct 25, 2018
228
7
18
Hello.Can anyone help me play this on lsp:
HTML:
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://udrmv3.kaltura.com/cenc/widevine/license?custom_data=eyJjYV9zeXN0ZW0iOiJPVFQiLCJ1c2VyX3Rva2VuIjowLCJhY2NvdW50X2lkIjoiMjA4MjMxMSIsImNvbnRlbnRfaWQiOiJmdGFfY2g1X2Rhc2hfd2ViX2RybSIsImZpbGVzIjoiMTA5MzgxNTAiLCJ1ZGlkIjoiIiwiYWRkaXRpb25hbF9jYXNfc3lzdGVtIjowfQ%3D%3D&signature=XxVtXGzoZGI5pzb1eOacEclqzxQ%3D&
#EXTINF:-1,Channel 5
https://tglmp02.akamaized.net/out/v1/5081e069e08140c9b95f89a1659cf4dd/manifest.mpd
 

dantas1990

Member
Apr 10, 2020
37
1
8
Hi.

I wanted to put together a playlist and I can't.
It is not reproducing. What's wrong ?

<item>
<title>[COLOR white] tes[/COLOR]</title>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFy8Bs1o31JrkGLfmW1YsnN3/?page=0$nome=[COLOR gold]FILMES 2020[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFychLb3rlbLc3iUWHj_YNb0/?page=0$nome=[COLOR gold]TERROR[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFzHtPl1JaBiBwd6kpMW2972/?page=0$nome=[COLOR gold]SUPER HEROIS[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFyGRXWhSPzbA7ikbL5KjV68/?page=0$nome=[COLOR gold]SUSPENSE[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFyUFJiPK6-JCfi3v_E9vq0R/?page=0$nome=[COLOR gold]MELHORES FILMES DE ANIMAÇAO[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFyoSse9XS2ctS1IbOcFhyr8/?page=0$nome=[COLOR gold]DRAMA[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFybU86aBmL9m7XYUgBLwyMF/?page=0$nome=[COLOR gold]FANTASIA[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFxtxnu3OlS60osfIkHvJgH_/?page=0$nome=[COLOR gold]ROMANCE[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFz2U6lJc_pvMPNPblzOmfdM/?page=0$nome=[COLOR gold]COMEDIA[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFzE91b-EdKsgnYjVxZVbKsU/?page=0$nome=[COLOR gold]FICÇAO[/COLOR]</link>
<link>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFwPxwTBUJo8qH-vqEJDGqLJ/?page=0$nome=[COLOR gold]AÇAO[/COLOR]</link>

</item>
 

upd8t3r

Member
Oct 16, 2019
45
17
8
You've got a few things wrong with it, here's what it should look like

XML:
<items>
<item>
<title>[COLOR gold][B]FILMES 2020[/B][/COLOR]</title>
<link>ignoreme</link>
<jsonrpc>plugin://plugin.video.youtube/playlist/Lih3zHKz4XFy8Bs1o31JrkGLfmW1YsnN3/</jsonrpc>
<thumbnail></thumbnail>
<fanart></fanart>
</item>   
<item>
<title>[COLOR gold][B]TERROR[/B][/COLOR]</title>
<link>ignoreme</link>
<jsonrpc>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFychLb3rlbLc3iUWHj_YNb0/</jsonrpc>
<thumbnail></thumbnail>
<fanart></fanart>
</item>   
<item>
<title>[COLOR gold][B]SUPER HEROIS[/B][/COLOR]</title>
<link>ignoreme</link>
<jsonrpc>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFzHtPl1JaBiBwd6kpMW2972/</jsonrpc>
<thumbnail></thumbnail>
<fanart></fanart>
</item>   
<item>
<title>[COLOR gold][B]SUSPENSE[/B][/COLOR]</title>
<link>ignoreme</link>
<jsonrpc>plugin://plugin.video.youtube/playlist/PLih3zHKz4XFyGRXWhSPzbA7ikbL5KjV68/</jsonrpc>
<thumbnail></thumbnail>
<fanart></fanart>
</item>   
</items>
 

thingy

Member
May 9, 2018
50
0
6
Hello @gujal this code not working you could help me?
Code:
<item>
<item><title>[CANALES DE REPRETEL ] [COLOR lime]LISTA[/COLOR] </title>
<link>$doregex[makelist]</link>
<thumbnail>https://cdn.repretel.com/2018/v3/images/logo.png</thumbnail>
<fanart>https://cdn.repretel.com/files/2019/07/09/conductoresgrande.png</fanart>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param1][/COLOR]</title>
  <inputstream>$doregex[url]</inputstream>
  <thumbnail>[makelist.param2]</thumbnail>
  <fanart>https://cdn.repretel.com/files/2019/07/09/conductoresgrande.png</fanart>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
  import re
  chs = re.findall(r'<button\s*class\s*=\s*"btn.+?name="([^"]+)".+?src="([^"]+/([^\.]+)[^"]+)', page_data)
  channels = []
  for title, thumb, cid in chs:
    turl,secdiv = re.findall(r'{}"\s*value="([^"]+)"'.format(cid), page_data)
    secret = re.findall(r"var\s*{}.+?Date\.now[^']+'([^']+)".format(secdiv), page_data)[0]
    channels.append((title, thumb, turl, secret))
  return channels
]]></expres>
<page>https://www.repretel.com/envivo</page>
</regex>
<regex>
  <name>url</name>
  <expres><![CDATA[#$pyFunction
def GetLSProData(page_data, Cookie_Jar,m):
  import re, requests
  def rsk(s):
    import time
    def decrypt(v1, v2):
      lv2 = len(v2)
      sv2 = list(v2)
      for i in range(lv2-1, -1, -1):
        t1 = i * v1 % lv2
        t2 = sv2[i]
        sv2[i] = sv2[t1]
        sv2[t1] = t2
      s1 = ''.join(sv2)
      s2 = s1[0:lv2 - 2] if s1[lv2 - 2:lv2] == 'OK' else None
      return s2
    tval = int(time.time()/3600)
    t = decrypt(tval, s) or decrypt(tval-1, s)
    return t
  hdr = {'User-Agent': 'iPad'}
  cname = '[makelist.param1]'.lower()
  surl = re.findall(r'{}"\s*:\s*"([^"]+)'.format(cname), page_data)[0]
  turl = '[makelist.param3]' + rsk('[makelist.param4]')
  token = requests.get(turl, headers=hdr).json()['token']
  surl += '?iut={}'.format(token)
  return surl
]]></expres>
  <page>https://d353843ckd0sex.cloudfront.net/player_cr_repretel.html</page>
</regex>
<thumbnail>https://cdn.repretel.com/2017/v2/img/Repretel-Compartir.png</thumbnail>
<fanart>https://cdn.repretel.com/2017/v2/img/Repretel-Compartir.png</fanart>
</item>
 
Thread starter Similar threads Forum Replies Date
G Scraper Development 0
J Scraper Development 1
O Addon Requests 5