LSP Regex & Makelist Discussion.

thingy

Member
May 9, 2018
80
1
8
Could you tell me if the Daily Motion addon is working?
 

streamwatcher2013

Well-known member
Oct 24, 2013
993
450
63
USA
Yes It's working. For not live video. For live use <dmlive>videoID</dmlive>

LSP XML:
<item>
<title>Chinese Media Pulls Boston Celtics Games After Enes Kanter Expresses Support for Tibet</title>
<dm>x850fe5</dm>
</item>
 

gujal

Developer
Dec 26, 2013
609
333
63
Dailymotion addon does not bypass region restrictions.
Check if that particular stream plays on your browser. If it doesn't it wont work in addon either
I get
Code:
Video not available
This video is not available in your region
 

gujal

Developer
Dec 26, 2013
609
333
63
Dailymotion LIve code seems to have changed on site. WIll need a fix to Dailymotion addon. Will get to it next week
 

tungbeng95

Member
Oct 25, 2018
392
16
18
Dear, @streamwatcher2013
How can I do edit to working on kodi 19?
Code:
<item>
<title>VTV1 HD</title>
<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  inf=re.findall('(?s)var.id.+?(\d).+?var.url.+?"(.*?)"."([^"]+).+?var.time.+?(\d+).+?var.token.+?[\'"]([^\'"]+)',re.findall('id="player-live-streaming">(?s)(.*?)<ul',page_data)[0])[0]
  source=requests.post(inf[1]+inf[2],headers={'user-agent':'Mozilla/5.0','referer':'https://vtvgo.vn/xem-truc-tuyen-kenh-vtv1-1.html','host':'vtvgo.vn','x-requested-with':'XMLHttpRequest','accept':'*/*'},cookies=Cookie_Jar,data={'type_id':'1','id':inf[0],'time':inf[3],'token':inf[4]}).content
  return re.findall('stream_url".+?"([^"]+)',source)[0].replace('\\','')+'|user-agent=ipad&referer=https://vtvgo.vn/'
]]></expres>
<page>https://vtvgo.vn/xem-truc-tuyen-kenh-vtv1-1.html</page>
<referer>https://vtvgo.vn/</referer>
<cookieJar></cookieJar>
</regex>
</item>
 
  • Like
Reactions: undpnd tqucbo

tungbeng95

Member
Oct 25, 2018
392
16
18
@streamwatcher2013 is it? I'm edit but seems code not working...Can you check for me.
Code:
<item>
<title>VTV1 HD</title>
<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  inf=re.findall('(?s)var.id.+?(\d).+?var.url.+?"(.*?)"."([^"]+).+?var.time.+?(\d+).+?var.token.+?[\'"]([^\'"]+)',re.findall('id="player-live-streaming">(?s)(.*?)<ul',page_data)[0])[0]
  source=requests.post(inf[1]+inf[2],headers={'user-agent':'Mozilla/5.0','referer':'https://vtvgo.vn/xem-truc-tuyen-kenh-vtv1-1.html','host':'vtvgo.vn','x-requested-with':'XMLHttpRequest','accept':'*/*'},cookies=Cookie_Jar,data={'type_id':'1','id':inf[0],'time':inf[3],'token':inf[4]}).text
  return re.findall('stream_url".+?"([^"]+)',source)[0].replace('\\','')+'|user-agent=ipad&referer=https://vtvgo.vn/'
]]></expres>
<page>https://vtvgo.vn/xem-truc-tuyen-kenh-vtv1-1.html</page>
<referer>https://vtvgo.vn/</referer>
<cookieJar></cookieJar>
</regex>
</item>
 

cezi1

Member
Aug 1, 2017
34
1
8
hi Bro. can u create the regex code for this movie please?

Code:
hxxps://bit.ly/3pJeZC0
 

BymemoLee

Member
Apr 30, 2018
93
20
8
Have fun
Code:
<item>
<title>Tyler Rake: Extraction (2020) Stream</title>
<link>$doregex[getLink]</link>
<regex>
<name>getLink</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m,seturl='https://kinoonline.su/36-tyler-rake-extraction-2020.html'):
  headers={'user-agent':'Mozilla/5.0','referer':'https://voe.sx/','accept':'*/*'}
  links=requests.get(seturl,headers=headers).text
  phplink=re.findall('iplayer"[\w\W]+?src=[\'"]([^\'"]+)',links)[0]
  phpurl=requests.get(phplink,headers=headers).text
  return re.findall('hls"(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',phpurl)[0]+'|user-agent=ipad&referer='+phplink
]]></expres>
<page></page>
</regex>
</item>
 
  • Like
Reactions: altug and cezi1

undpnd tqucbo

Member
Jan 25, 2021
171
2
18
Can I need help a site & tk!
Code:
https://media.cms.nova.cz/embed/nova-2-live?autoplay=1
 

m5Germany

Active member
Mar 20, 2014
350
115
43
Coded/Tested for: LSP3-a4 Kodi 19.2 Windows 10 & Android 11 systems.
LSP3 XML:
<item>
<title>nova-2 | media.cms.nova.cz/</title>
<fanart></fanart>
<thumbnail></thumbnail>
<link>$doregex[m5]|User-Agent=Mozilla/5.0&amp;Accept=*/*&amp;Origin=https://media.cms.nova.cz&amp;Referer=https://media.cms.nova.cz/</link>
<regex>
<name>m5</name>
<expres><![CDATA[$pyFunction:'$doregex[m4]'.replace('\\','')]]></expres>
<page />
<referer>https://media.cms.nova.cz/</referer>
</regex>
<regex>
<name>m4</name>
<expres>player-1.*?src":"([^"]+)</expres>
<page>https://media.cms.nova.cz/embed/nova-2-live?autoplay=1|Upgrade-Insecure-Requests=1</page>
<referer>https://media.cms.nova.cz/</referer>
</regex>
</item>
 
  • Like
Reactions: undpnd tqucbo

m5Germany

Active member
Mar 20, 2014
350
115
43
Požádejte prosím fórum jako celek o pomoc s kódem.
Coded\Tested for: LSP3-a4 Kodi 19.2 Windows 10 & Android 11 systems.
LSP3 XML:
<item>
<title>CNN Prima News</title>
<fanart>https://pt.shotoe.com/uploads/news/18/1824/7/1824732-pm-penos-prima-pedstavuje-cnn-prima-news.jpg</fanart>
<thumbnail>https://www.kuki.cz/media/cache/35/4d/354de9261c3ab3a31112ef9a351b4120.png</thumbnail>
<link>$doregex[m5]|User-Agent=Mozilla/5.0&amp;Accept=*/*&amp;Origin=https://www.iprima.cz&amp;Referer=https://www.iprima.cz/player/embedded/6358979?autoplay=1</link>
<regex>
<name>m5</name>
<expres>url"\s*:\s*"([^"]+)",</expres>
<page>https://api.play-backend.iprima.cz/api/v1//products/id-$doregex[m4]/play</page>
<referer>https://www.iprima.cz/player/embedded/6358979?autoplay=1</referer>
</regex>
<regex>
<name>m4</name>
<expres>productId\s*=\s*'([^']+)</expres>
<page>https://www.iprima.cz/player/embedded/6358979?autoplay=1</page>
<referer>https://www.iprima.cz/</referer>
</regex>
</item>
 

rominhos

New member
Jan 13, 2014
7
0
1
Hello
Can Anyone help please
thanks


<link>$doregex[makelist3]</link>
<regex>
<name>makelist3</name>
<listrepeat><![CDATA[
<title>[COLOR orange][makelist3.param1][/COLOR] [COLOR yellow][makelist3.param2][/COLOR][COLOR skyblue][makelist3.param3] [makelist3.param4][/COLOR] [makelist3.param6] [COLOR lightslategray] [makelist3.param5] [/COLOR]</title>
<link>$doregex[id3]|user-agent=Mozilla/5.0&amp;Referer=https://jazzy.to/daddylive.php</link>
<thumbnail></thumbnail>
]]></listrepeat>
<expres><![CDATA[<h3><strong>(.*?)<|h4>.*?">(.*?)<|hr>([0-9]{0,2}:[0-9]+)\s(.*?)<|\/stream\-(.*?)\.p.*?noopener\">(.*?)<]]></expres>
<page>https://daddylive.me/</page>
</regex>


<regex>
<name>id3</name>
<expres><![CDATA[source:.*?"(.+?)"]]></expres>
<page>https://jazzy.to/daddylive.php?live=[makelist3.param5]&amp;vw=100vw&amp;vh=100vh</page>
<referer>https://daddylive.me/</referer>
<agent>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0</agent>
</regex>
 

m5Germany

Active member
Mar 20, 2014
350
115
43
Please put your request for Code inside Code Tags as Live Links are not permitted per Forum Rules.
Code:
your info
Coded\Tested for: LSP3-a4 Kodi 19.2 Windows 10 & Android 11 systems.

Menu option: Alternative Player For Today's Events Extra Stream 1-33+ are NOT INCLUDED in makelist because there are multiple
servers and some links point to paid subscription sources. Makelist contains daddylive streams only. Additionally, streams
may not be active until just before match. If you try a match before it's time you may receive Error Code. Check Kodi Log
and you will see a 404 Error and showing the m3u8 proving that the stream is captured.
Try again when time is scheduled and it should work.
Example:
CCurlFile::Open failed with code 404 for h tps://a.jazzy.to:30443/live/148/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9M....truncated.
Finally, if stream does not work in your Web Browser - it will not work with this Code.
LSP3 XML:
<item>
<title>[COLOR=FF00FFFF]AGENDA daddylive.me [/COLOR][COLOR=FF006680]UK GMT+1[/COLOR]</title>
<fanart>https://ohcbrands.com/wp-content/uploads/2018/05/black-background.jpg</fanart>
<thumbnail>https://i.imgur.com/8EL6mr3.png</thumbnail>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR=FF00FFFF][makelist.param1] [/COLOR][COLOR=FF006680][makelist.param2][/COLOR][COLOR=FF00CCFF] [makelist.param3][/COLOR]</title>
<link>$doregex[m5]|User-Agent=Mozilla/5.0&amp;Accept=*/*&amp;Origin=https://daddylive.co&amp;Referer=https://daddylive.co/</link>
<fanart>https://ohcbrands.com/wp-content/uploads/2018/05/black-background.jpg</fanart>
<thumbnail>https://i.imgur.com/8EL6mr3.png</thumbnail>
]]></listrepeat>
<expres><![CDATA[alert">.*\n.*?0;">((?!Alt)[^<]+)|hr>(\d+:\d+)\s*([^<]+).*?href="https://daddylive.me/stream/([^"]+)]]></expres>
<page>https://daddylive.co/</page>
</regex>
<regex>
<name>m5</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
  url=re.findall('iframe\s*src="([^"]+)',page_data)[0];url='https:'+url if url.startswith('//') else url
  source=requests.get(url,headers={'user-agent':'Mozilla/5.0','referer':'https://daddylive.co/','accept':'*/*'}).text
  return re.findall('player[\w\W]*?source\s*:\s*"([^"]+)',source)[0]+'|user-agent=Mozilla/5.0&referer=https://www.eplayer.to/'
]]></expres>
<page>https://daddylive.me/stream/[makelist.param4]</page>
<referer>https://daddylive.me/</referer>
</regex>
</item>
 
  • Like
Reactions: rominhos

streamwatcher2013

Well-known member
Oct 24, 2013
993
450
63
USA
Try this. One makelist is categories, one is a long list for all. But wonder the stream is not playing with android devices!!!!

LSP XML:
<item>
<title>daddylive.me</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR lime][makelist.param1] [COLOR snow][makelist.param2] [COLOR gold][makelist.param3] [COLOR dodgerblue][makelist.param5][/COLOR]</title>
  <link>$doregex[getUrl]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,datetime
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  list=re.findall('(?s)>T(?:V|v)\s*(?:S|s)how.+?class="alert(?s)(.+?)(?:batman-stream|Batmanstream)',page_data)[0]
  return re.findall('<h4><span.+?>([^<]+)|<hr>(\d+:\d+)\s*([^<]+)|href=.+?stream-(\d+).+?>([^\(<]+)',list)
]]></expres>
<page>https://daddylive.me/</page>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests,jsunpack
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  url='https://daddylive.me/stream/stream-[makelist.param4].php'
  source=requests.get(url,headers={'user-agent':'Mozilla/5.0','referer':'https://daddylive.me/','accept':'*/*'}).text.replace('\\','')
  while 'wigistream' in source:
    link=re.findall('src="(.+?wigis[^"]+)',source)[0]
    source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':url,'accept':'*/*'}).text.replace('\\','')
    return re.findall('Clappr.Player[\w\W]*?source(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',source)[0]+'|user-agent=ipad&origin=https://wigistream.to&referer=https://wigistream.to/'
  if 'p,a,c,k' in source:
    msource=jsunpack.unpack(re.findall('(eval.*m3u8.*)',source)[0])
    return re.findall('(?:P|player)[\w\W]*?(?:source|src|file)(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',msource)[0]+'|user-agent=ipad&origin=https://wigistream.to&referer=https://wigistream.to/'
  else:
    link=re.findall('<iframe\s*src="([^"]+)',source)[0]#+'&vw=100vw&vh=100vh'
    source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':'https://daddylive.me/','accept':'*/*'}).text
    return re.findall('(?:P|player)"[\w\W]*?(?:source|src|file)(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',source)[0]+'|user-agent=ipad&referer=%s'%link
]]></expres>
<page></page>
</regex>
</item>


<item>
<title>daddylive.me</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param1][/COLOR]</title>
  <link>$doregex[makelist2]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  list=re.findall('(?s)>T(?:V|v)\s*(?:S|s)how.+?class="alert(?s)(.+?)(?:batman-stream|Batmanstream)',page_data)[0]
  return re.findall('<h4>.+?">(?!T.\s*Show)([^<]+)</span>(?s)(.*?)<div',list)
]]></expres>
<page>https://daddylive.me/</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
   <title>[COLOR dodgerblue]([makelist2.param1] ET)  [COLOR gold][makelist2.param2][/COLOR]</title>
  <link>$doregex[makelist3]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,time
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  gtime=re.findall('(\d+:\d+)',page_data)
  for t in gtime:
    localtime=int(t[:-3]) -5  #  Subtract 5 from GMT +1. My is Central Time Zone
    if localtime > 24:
      localtime -=24
    if localtime < 1:
      localtime +=24
    lctime=str(localtime)+t[2:]
    lctime=lctime.zfill(5)
    page_data=page_data.replace(t,lctime)
  return re.findall('(\d+:\d+)\s*([^<]+)(?s)(.*?)<(?:hr|/p)',page_data)
]]></expres>
<page>[makelist.param2]</page>
</regex>
<regex>
<name>makelist3</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist3.param2][/COLOR]</title>
  <link>$doregex[getUrl]</link>
]]></listrepeat>
<expres><![CDATA[href="([^"]+).+?>([^\(<]+)]]></expres>
<page>[makelist2.param3]</page>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests,jsunpack
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  url='[makelist3.param1]'
  source=requests.get(url,headers={'user-agent':'Mozilla/5.0','referer':'https://daddylive.me/','accept':'*/*'}).text.replace('\\','')
  while 'wigistream' in source:
    link=re.findall('src="(.+?wigis[^"]+)',source)[0]
    source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':url,'accept':'*/*'}).text.replace('\\','')
    return re.findall('Clappr.Player[\w\W]*?source(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',source)[0]+'|user-agent=ipad&origin=https://wigistream.to&referer=https://wigistream.to/'
  if 'goooogle.cloud' in source:
    link=re.findall('Bitcoin[\w\W]+?src=[\'"]([^\'"]+)',source)[0]
    source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':'https://daddylive.co/','accept':'*/*'}).text
    return re.findall('(?:P|player)[\w\W]*?(?:source|src|file)(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',source)[0]+'|user-agent=ipad&referer=%s'%link
  elif 'p,a,c,k' in source:
    msource=jsunpack.unpack(re.findall('(eval.*m3u8.*)',source)[0])
    return re.findall('(?:P|player)[\w\W]*?(?:source|src|file)(?:\s*|):(?:\s*|)[\'"]([^\'"]+)',msource)[0]+'|user-agent=ipad&origin=https://wigistream.to&referer=https://wigistream.to/'
  else:
    link=re.findall('<iframe\s*src=[\'"]([^\'"]+)',source)[0];ref=re.findall('([^\?]+)',link)[0]
    source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':'https://daddylive.me/','accept':'*/*'}).text.replace('\\','')
    return re.findall('Clappr.Player[\w\W]*?(?:source|src|file):(?:\s*|)[\'"]([^\'"]+)',source)[0]+'|user-agent=ipad&referer=%s'%ref
]]></expres>
<page></page>
</regex>
</item>
 
  • Like
Reactions: rominhos

m5Germany

Active member
Mar 20, 2014
350
115
43
But wonder the stream is not playing with android devices!!!!

Have (2) android boxes:
decooler M9spro 16 gig model HX S905 series version 5.11 kernel ver [email protected] #1 Wed Dec 7 18:42:45 CST 2016 - Code does not work.
X88pro10 version 11 kernel ver 4.19.161 #139 Thu Jun 24 09:48:12 CST 2021 - Code Works.

Since I've tried to "update" the M9s (and it shows unit is up to date) I'll use it till it dies. Only need a couple of channels.
Only used as a tertiary device.

So, If there is no way of updating the M9s to a current kernel/op system, (in my mind), Sometimes you have to upgrade.
 

boul

Member
Nov 24, 2017
38
0
6

DINA

New member
Apr 1, 2017
1
1
3
Hi, These are the two direct links from that source:
Remember, GEO Canada.
Code:
TVA
http://tvalive-nondai.akamaized.net/Content/HLS/Live/channel(a7315e07-037c-12a8-bdc8-da7bd513da9d)/index.m3u8
https://dai.google.com/linear/hls/event/5DUWih-wSeOUg9zszuE-Jw/master.m3u8
 
  • Like
Reactions: boul

cezi1

Member
Aug 1, 2017
34
1
8
Hi people, can someone please explain to me how man to the current kodi LSP installed? I get an error message every time? How did you solve the problem?
I downloaded and installed the current

Kodi version 19.3 from here
Code:
http://mirrors.kodi.tv/releases/android/arm64-v8a/
and LSP 2.9.7 from here
Code:
https://github.com/Gujal00/GujalKodiWork/blob/master/zips/plugin.video.live.streamspro/plugin.video.live.streamspro-2.9.7.zip
 

m5Germany

Active member
Mar 20, 2014
350
115
43
Info:
https://kodi.tv/download/
https://kodi.tv/download/android
https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Android
then view README.MD in repo page below
https://github.com/Gujal00/gujal00.github.io
 

gujal

Developer
Dec 26, 2013
609
333
63
LSP 2.9.7 is not compatible with Kodi 19 and above.
Currently there is an Alpha version available for testing here.
Code:
https://gujal00.github.io/plugin.video.live.streamspro-3.0.0~alpha4.zip
Will release when all the kinks are ironed out
 
  • Like
Reactions: altug and cezi1

undpnd tqucbo

Member
Jan 25, 2021
171
2
18
The code seems no longer working,can plese to fix & tk.
Code:
<item>
<title>TV8 int </title>
<link>$doregex[getURL]|User-Agent=Mozilla/5.0&amp;Referer=https://www.tv8.com.tr/</link>
<regex>
<name>getURL</name>
<expres>hls",\s*file:\s*"([^"]+)</expres>
<page>https://www.tv8.com.tr/canli-yayin</page>
<referer>https://www.tv8.com.tr/</referer>
</regex>
</item>
 

streamwatcher2013

Well-known member
Oct 24, 2013
993
450
63
USA
Try this:

LSP XML:
<item>
<title>TV8 int </title>
<link>$doregex[getUrl]</link>   
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  source=requests.get('https://www.tv8.com.tr/canli-yayin',headers={'user-agent':'Mozilla/5.0','referer':'https://www.tv8.com.tr/','accept':'*/*'},verify=False).text.replace('\\','')
  return re.findall('{videoid:.+?"(http[^"]+)',source)[0]+'|user-agent=Mozilla/5.0&origin=https://www.tv8.com.tr&referer=https://www.tv8.com.tr/'
]]></expres>
<page></page>
</regex>
</item>
 
  • Like
Reactions: undpnd tqucbo

haider

New member
Dec 26, 2013
22
0
1
toronto
Code:
<item>
<title>qaim tv </title>
<link>https://cdn.live247stream.com/qaim/tv/playlist.m3u8</link>
</item>
how i play this link in LSp
-3.0.0~alpha4 kodi 19.2
thanks
 

undpnd tqucbo

Member
Jan 25, 2021
171
2
18
Can i get help a site & tk!
Code:
https://video2b.vixtream.net/tv/v/etvz
 

gujal

Developer
Dec 26, 2013
609
333
63
@streamwatcher2013
For such instances you can add verifypeer=false to the link headers
@undpnd tqucbo
Enjoy!

LSP XML:
<item>
<title>ETVZ</title>
<link>$doregex[getUrl]|User-Agent=iPad&amp;verifypeer=false</link>
<regex>
<name>getUrl</name>
<expres>src='([^']+)</expres>
<page>https://video2b.vixtream.net/tv/v/etvz</page>
</regex>
</item>
 
  • Like
Reactions: undpnd tqucbo

undpnd tqucbo

Member
Jan 25, 2021
171
2
18
I need help one this & tk!
Code:
https://vodapi.mtv.com.lb/api/VODLive/getLiveStreamLink
 

tungbeng95

Member
Oct 25, 2018
392
16
18
@undpnd tqucbo Try it:
Code:
<item>
 <title>MTV</title>
 <link>$doregex[getUrl]|User-Agent=Mozilla/5.0&amp;Referer=https://www.mtv.com.lb/</link>
 <regex>
 <name>getUrl</name>
 <expres>link":"([^"]+)</expres>
 <page>https://vodapi.mtv.com.lb/api/VODLive/getLiveStreamLink</page>
 </regex>
</item>
 
  • Like
Reactions: undpnd tqucbo

Doom

Member
Sep 16, 2019
330
21
18

gujal

Developer
Dec 26, 2013
609
333
63
Enjoy!

LSP XML:
<item>
  <title>HBO</title>
  <thumbnail></thumbnail>
  <inputstream>https://edge-live11-sl.cvattv.com.ar/live/c3eds/HBOHD/SA_Live_dash_enc_2A/HBOHD.mpd$$lic=https://cctvvip.webcindario.com/cv.php|Content-Type= |R{SSM}|</inputstream>
</item>
 
  • Like
Reactions: Doom

nkt9911

Member
May 22, 2021
39
0
6
USA
Can i get help & thanks!
Code:
https://megatelevisionhd.com/en-vivo/afizzionados/
 

gujal

Developer
Dec 26, 2013
609
333
63
Enjoy!

LSP XML:
<item>
<title>Affizionados</title>
<thumbnail></thumbnail>
<link>$doregex[getUrl]|user-agent=iPad&amp;Referer=https://live.tvplusgratis.com/&amp;verifypeer=false</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data, Cookie_Jar, m):
  import re, base64, jsunpack
  pdata = re.search('(eval\(function\(p,a,c,k,e.+?)</script', page_data, re.DOTALL)
  if pdata:
    page_data += jsunpack.unpack(pdata.group(1))
  burl = re.findall('MARIOCSCryptOld\("([^"]+)', page_data)[0]
  while 'm3u8' not in burl:
    burl = base64.b64decode(burl).decode('utf8')
  return burl
]]></expres>
<page>https://live.tvplusgratis.com/canales.php?id=28_</page>
<referer>https://www.televisiongratishd.com/</referer>
</regex>
</item>
 
  • Like
Reactions: nkt9911

Doom

Member
Sep 16, 2019
330
21
18
Hi gurus is there anyway to make 1 of the list work continuously without having to go the website to activate it when it stops playing & thanks.
hxxps://teleclub.xyz/
 

vbprofi

Member
Feb 9, 2016
87
3
8
Hello dear friends,
I Need help for this stream
Code:
https://karwan.tv/zarok-tv.html
this code isn't work:
Code:
<item>
<title>[COLOR red]Zarok TV[/COLOR]</title>
<link>$doregex[m3u]|User-Agent=Mozilla/5.0&amp;Accept=*/*&amp;Origin=https://karwan.tv&amp;Referer=https://karwan.tv/zarok-tv.html</link>

<regex>
<name>m3u</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#vbprofi
 p = re.findall('"(https:.*?m3u8.*?)"', page_data)[0]
 p = p.replace('\', '')
 return p
]]></expres>
<page>https://karwan.tv/zarok-tv.html</page>
<connection>keep-alive</connection>
<agent>Mozilla/5.0</agent>
<accept>text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9</accept>
<referer>https://live-tv-channels.org/</referer>
</regex>
</item>
have someone an Idea?
 

streamwatcher2013

Well-known member
Oct 24, 2013
993
450
63
USA
Try this. It plays at my end

LSP XML:
<item>
<title>Zarok TV</title>
<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
  source=requests.get('https://karwan.tv/zarok-tv.html',headers={'user-agent':'Mozilla/5.0','referer':'https://karwan.tv/zarok-tv.html','accept':'*/*'},verify=False).text.replace('\\','')
  strurl=re.findall('"data":.+?src":"([^"]+)',source)[0]
  return '%s|user-agent=ipad&origin=https://karwan.tv/zarok-tv.htm&referer=https://karwan.tv/zarok-tv.html'%strurl
]]></expres>
<page></page>
</regex>
</item>
 
Thread starter Similar threads Forum Replies Date
I Scraper Development 1
G Scraper Development 0
O Addon Requests 5