LSP Regex & Makelist Discussion.

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
You may try CEMC to see it works for you.
 

Rockey

Member
Sep 11, 2018
68
0
6
i tried that Streamwatcher2013 but thats even slower. what about this streaming site can you make a code for it?

Code:
http://photocall.tv/
/tab 3 (otros)


I have the regex code for single channels but the problem is that they keep changing some kind of characters in their url daily.. so i have to do the same daily lol

for example:
todays url
Code:
http://hls.giize.com/P5GMdm1qj1/un?ch=beinsports3
yesterdays url
Code:
http://hls.giize.com/7WZrrPGC7x/un?ch=beinsports3
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
The makelist will get you the latest links. Completed it with the other part to get it play

Code:
<item>
<title>beIN Sports</title>             
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold]beIN Sports [makelist.param2][/COLOR]</title>
  <link>$doregex[getUrl]</link>
  <thumbnail>http://aoifootball.com/wp-content/uploads/2019/01/download-2.png</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data, Cookie_Jar,m):#streamwatcher
  source=requests.get('http://photocall.tv/',headers={'user-agent':'Mozilla/5.0'}).content
  return re.findall('href="([^"]+).+?>(H[^<]+)',re.findall('beIN SPORTS"(?s)(.*?)</ul',source)[0])
]]></expres>
<page></page>
</regex>
<regex>
<name>getUrl</name>
<expres>..........................................................................</expres>
<page></page>
</regex>
<thumbnail>http://aoifootball.com/wp-content/uploads/2019/01/download-2.png</thumbnail>
</item>
 

Rockey

Member
Sep 11, 2018
68
0
6
Thanks streamwatcher2013 the makelist opens with all its channels in it, but it does not play.

Here is the code i have for single channel. it works if i keep renewing the urls everyday for every single channel

Code:
<item>
<title>Bein Sports3</title>
<link>$doregex[get-url]|User-Agent=iPad</link>
<regex>
  <name>get-url</name>
  <expres>source:\s*'([^']+)</expres>
  <page>http://hls.giize.com/P5GMdm1qj1/un?ch=beinsports3#</page>
  <referer>http://photocall.tv/</referer>
</regex>
<thumbnail></thumbnail>
</item>
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
Then add it to getUrl section

Code:
<item>
<title>beIN Sports</title>             
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold]beIN Sports [makelist.param2][/COLOR]</title>
  <link>$doregex[getUrl]|User-Agent=iPad<</link>
  <thumbnail>http://aoifootball.com/wp-content/uploads/2019/01/download-2.png</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data, Cookie_Jar,m):#streamwatcher
  source=requests.get('http://photocall.tv/',headers={'user-agent':'Mozilla/5.0'}).content
  return re.findall('href="([^"]+).+?>(H[^<]+)',re.findall('beIN SPORTS"(?s)(.*?)</ul',source)[0])
]]></expres>
<page></page>
</regex>
<regex>
<name>getUrl</name>
<expres>source:\s*'([^']+)</expres>
<page>[makelist.param1]#</page>
<referer>http://photocall.tv/</referer>
</regex>
<thumbnail>http://aoifootball.com/wp-content/uploads/2019/01/download-2.png</thumbnail>
</item>
 

Rockey

Member
Sep 11, 2018
68
0
6
YEP! worked.. You are great Streamwatcher2013
By the way i found all the arconai channels in c***ud addon. they all work smoothly in jarvis
 

Rockey

Member
Sep 11, 2018
68
0
6
is it possible to have a makelist for this site?
it looks very reliable

Code:
http://cricfree.ws/
Thanks in advance
 

Picapau

Member
Nov 15, 2018
69
9
8
Thank you very much for the solution, it works perfectly. I did this regular expression and I do not understand why it does not work for me, it's as if I did not connect to the web, could you advise me why my regular expression does not work?

Code:
<item>
<title>[COLOR lightgreen]Multicanales[COLOR white] Eventos Deportivos[/COLOR]</title>
<link>$doregex[fullcristal]</link>
<regex>
<name>fullcristal</name>
<listrepeat><![CDATA[
<title>[COLOR lightgreen]Evento[COLOR white] [fullcristal.param1][/COLOR]</title>
<link>$doregex[cristalazul]</link>
]]></listrepeat>
<expres>'(.*?)'</expres>
<page>'1','2','3','4','5','6','7','8','9'</page>
</regex>  
<regex>
<name>cristalazul</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
    import re
    import requests
    url = 'https://tumarcador.xyz/ac[fullcristal.param1].html'
    html = requests.post(url, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0', 'Referer': 'https://tumarcador.xyz/'}, verify=False).text
    return re.findall('(?s)file:.\'(.*?)\'', html)[0]
]]></expres>
<page></page>
<Referer>https://tumarcador.xyz/ac1.html</Referer>
<Accept>*/*</Accept>
<Connection>keep-alive</Connection>
<cookieJar></cookieJar>
</regex>
<info>[COLOR lightgreen]Multicanales[/COLOR]</info>
</item>
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
Just change requests.post to requests.get, also remove all the one below to see it works:

<code>
<Referer>hxxps://...............</Referer>
<Accept>*/*</Accept>
<Connection>keep-alive</Connection>
<cookieJar></cookieJar></code>
 
  • Like
Reactions: Picapau

Oxus

New member
Jul 24, 2014
18
2
3
Thanks to streamwatcher2013 this code is working ok:


Code:
<item>
<title>[COLOR lightgreen]Multicanales[COLOR white] Eventos Deportivos[/COLOR]</title>
<link>$doregex[fullcristal]</link>
<regex>
<name>fullcristal</name>
<listrepeat><![CDATA[
<title>[COLOR lightgreen]Evento[COLOR white] [fullcristal.param1][/COLOR]</title>
<link>$doregex[cristalazul]</link>
]]></listrepeat>
<expres>'(.*?)'</expres>
<page>'1','2','3','4','5','6','7','8','9'</page>
</regex> 
<regex>
<name>cristalazul</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
    import re
    import requests
    url = 'https://tumarcador.xyz/ac[fullcristal.param1].html'
    html = requests.get(url, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0', 'Referer': 'https://tumarcador.xyz/'}, verify=False).text
    return re.findall('(?s)file:.\'(.*?)\'', html)[0]
]]></expres>
<page></page>
</regex>
</item>
 
  • Like
Reactions: Picapau

Oxus

New member
Jul 24, 2014
18
2
3
Hi, can you help me with this?
Code:
https://acelisting.in/
Thank you!
 

Picapau

Member
Nov 15, 2018
69
9
8
Code:
<item>
<title>[COLOR lightgreen]Aceslist [COLOR white]Agenda[/COLOR] hora spanish</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR lightskyblue][makelist.param1][/COLOR][COLOR yellow]$doregex[hora][makelist.param6][/COLOR][COLOR orange][UPPERCASE] [makelist.param9][/UPPERCASE] [/COLOR][COLOR white]  [makelist.param10][/COLOR][COLOR red] [makelist.param12] [makelist.param13][/COLOR]</title>
<info>[COLOR lightskyblue][makelist.param1][/COLOR][COLOR yellow][makelist.param4][/COLOR][COLOR orange][UPPERCASE] [makelist.param6][/UPPERCASE] [/COLOR][COLOR white] [makelist.param7] [makelist.param8][/COLOR][COLOR red] [makelist.param10] [makelist.param11][/COLOR]</info>
<fanart>https://ugc.kn3.net/i/origin/http://3.bp.blogspot.com/-7Sq_1Ap72R0/TcnvEtT2eyI/AAAAAAAAA_Y/HWSWReXQsmI/s1600/camp-nou.jpg</fanart>
<thumbnail>$doregex[img1]$doregex[img2]$doregex[img3]</thumbnail>
<link>plugin://program.plexus/?url=[makelist.param11]&amp;mode=1&amp;name=[COLOR aqua]cristal azul[/COLOR]</link>
]]></listrepeat>
<expres><![CDATA[(?s)colspan="3">.*?h4>\s*((.*?) (.*?)201\d)|style="margin-left: auto\;">.*?class="text-right">\n                           ((.*?):)(.+?)\s*</.*?<td class.*?>\s*(.*?)\s*</td.*?<td>\s*(.*?)\s*<.*?<td colspan="2">\s*(.*?)\s*<.*?class.*?>\s*(.*?)\s*</td|href="aces.*?//(.*?)".*?Channel(.*?)<.*?>(.*?)"]]></expres>
<page>https://acelisting.in/</page>
</regex>
 <regex>
<name>hora</name>
<expres>$pyFunction:('[makelist.param4]').replace(' 0:','01:').replace(' 1:','02:').replace(' 2:','03:').replace(' 3:','04:').replace(' 4:','05:').replace(' 5:','06:').replace(' 6:','07:').replace(' 7:','08:').replace(' 8:','09:').replace(' 9:','10:').replace(' 10:','11:').replace(' 11:','12:').replace(' 12:','13:').replace(' 13:','14:').replace(' 14:','15:').replace(' 15:','16:').replace(' 16:','17:').replace(' 17:','18:').replace(' 18:','19:').replace(' 19:','20:').replace(' 20:','21:').replace(' 21:','22:').replace(' 22:','23:').replace(' 23:','00:')</expres>
<page></page>
</regex>
  <regex>
<name>img2</name>
<expres>$pyFunction:('[makelist.param8]').replace('SOCCER','http://bit.ly/img-avezy-soccer').replace('TENNIS','http://bit.ly/img-avezy-tennis').replace('FOOTBALL','http://bit.ly/img-avezy-football').replace('RUGBY','http://bit.ly/img-avezy-football').replace('MOTORSPORT','http://bit.ly/img-avezy-motorsport').replace('ATHLETICS','https://i.imgur.com/lQrhRs8.jpg').replace('BADMINTON','http://bit.ly/img-avezy-badminton').replace('BASEBALL','http://bit.ly/img-avezy-baseball').replace('BASKETBALL','http://bit.ly/img-avezy-basketball').replace('BOWLING','http://bit.ly/img-avezy-bowling').replace('BOXING','http://bit.ly/img-avezy-boxing').replace('CRICKET','https://i.imgur.com/lQrhRs8.jpg').replace('CYCLING','http://bit.ly/img-avezy-cycling').replace('DARTS','https://i.imgur.com/lQrhRs8.jpg').replace('FORMULA 1','http://bit.ly/img-avezy-motorsport').replace('GOLF','http://bit.ly/img-avezy-golf').replace('HOCKEY','http://bit.ly/img-avezy-hockey').replace('MMA','https://i.imgur.com/lQrhRs8.jpg').replace('MOTOGP','http://bit.ly/img-avezy-motogp').replace('PING-PONG','https://i.imgur.com/lQrhRs8.jpg').replace('POOL','http://bit.ly/img-avezy-pool').replace('SOCCER_(W)','http://bit.ly/img-avezy-soccer').replace('SWIMMING','https://i.imgur.com/lQrhRs8.jpg').replace('VOLLEYBALL','http://bit.ly/img-avezy-volleyball').replace('WATERPOLO','https://i.imgur.com/lQrhRs8.jpg')</expres>
<page></page>
</regex>
  <regex>
<name>img1</name>
<expres>$pyFunction:('[makelist.param2]').replace('Sunday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg').replace('Monday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg').replace('Tuesday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg').replace('Wednesday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg').replace('Thursday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg').replace('Friday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg').replace('Saturday','https://www.tdpevents.es/wp-content/uploads/2014/12/Calendar-150x150.jpg')</expres>
<page></page>
</regex>
<regex>
<name>img3</name>
<expres>$pyFunction:'[makelist.param12]'.replace(' 10','https://i.imgur.com/1uUlv8M.jpg').replace(' 11','https://i.imgur.com/1uUlv8M.jpg').replace(' 12','https://i.imgur.com/1uUlv8M.jpg').replace(' 13','https://i.imgur.com/1uUlv8M.jpg').replace(' 14','https://i.imgur.com/1uUlv8M.jpg').replace(' 15','https://i.imgur.com/1uUlv8M.jpg').replace(' 16','https://i.imgur.com/1uUlv8M.jpg').replace(' 17','https://i.imgur.com/1uUlv8M.jpg').replace(' 18','https://i.imgur.com/1uUlv8M.jpg').replace(' 19','https://i.imgur.com/1uUlv8M.jpg').replace(' 20','https://i.imgur.com/1uUlv8M.jpg').replace(' 21','https://i.imgur.com/1uUlv8M.jpg').replace(' 22','https://i.imgur.com/1uUlv8M.jpg').replace(' 23','https://i.imgur.com/1uUlv8M.jpg').replace(' 24','https://i.imgur.com/1uUlv8M.jpg').replace(' 25','https://i.imgur.com/1uUlv8M.jpg').replace(' 26','https://i.imgur.com/1uUlv8M.jpg').replace(' 27','https://i.imgur.com/1uUlv8M.jpg').replace(' 28','https://i.imgur.com/1uUlv8M.jpg').replace(' 29','https://i.imgur.com/1uUlv8M.jpg').replace(' 30','https://i.imgur.com/1uUlv8M.jpg').replace(' 31','https://i.imgur.com/1uUlv8M.jpg').replace(' 32','https://i.imgur.com/1uUlv8M.jpg').replace(' 33','https://i.imgur.com/1uUlv8M.jpg').replace(' 34','https://i.imgur.com/1uUlv8M.jpg').replace(' 35','https://i.imgur.com/1uUlv8M.jpg').replace(' 36','https://i.imgur.com/1uUlv8M.jpg').replace(' 37','https://i.imgur.com/1uUlv8M.jpg').replace(' 38','https://i.imgur.com/1uUlv8M.jpg').replace(' 39','https://i.imgur.com/1uUlv8M.jpg').replace(' 40','https://i.imgur.com/1uUlv8M.jpg').replace(' 41','https://i.imgur.com/1uUlv8M.jpg').replace(' 42','https://i.imgur.com/1uUlv8M.jpg').replace(' 1','https://i.imgur.com/1uUlv8M.jpg').replace(' 2','https://i.imgur.com/1uUlv8M.jpg').replace(' 3','https://i.imgur.com/1uUlv8M.jpg').replace(' 4','https://i.imgur.com/1uUlv8M.jpg').replace(' 5','https://i.imgur.com/1uUlv8M.jpg').replace(' 6','https://i.imgur.com/1uUlv8M.jpg').replace(' 7','https://i.imgur.com/1uUlv8M.jpg').replace(' 8','https://i.imgur.com/1uUlv8M.jpg').replace(' 9','https://i.imgur.com/1uUlv8M.jpg')</expres>
<page></page>
</regex>
<fanart>https://ugc.kn3.net/i/origin/http://3.bp.blogspot.com/-7Sq_1Ap72R0/TcnvEtT2eyI/AAAAAAAAA_Y/HWSWReXQsmI/s1600/camp-nou.jpg</fanart>
<thumbnail>https://i.imgur.com/vEoCPVN.jpg</thumbnail>
</item>
 
  • Like
Reactions: Oxus

Rockey

Member
Sep 11, 2018
68
0
6
Hello Streamwatcher2013.

what am i doing wrong in this code?
Its the one you made for BeinSports so i wanted to fork it with ZeeTV

Code:
<item>
<title>Zee India</title>             
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold]Zee (India) [makelist.param2][/COLOR]</title>
  <link>$doregex[getUrl]|User-Agent=iPad<</link>
  <thumbnail></thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data, Cookie_Jar,m):#streamwatcher
  source=requests.get('http://photocall.tv/',headers={'user-agent':'Mozilla/5.0'}).content
  return re.findall('href="([^"]+).+?>(H[^<]+)',re.findall('Zee (India)"(?s)(.*?)</ul',source)[0])
]]></expres>
<page></page>
</regex>
<regex>
<name>getUrl</name>
<expres>source:\s*'([^']+)</expres>
<page>[makelist.param1]#</page>
<referer>http://photocall.tv/</referer>
</regex>
<thumbnail></thumbnail>
</item>
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
Just add \ before ( or replace it with . and remove H

Code:
return re.findall('href="([^"]+).+?>([^<]+)',re.findall('Zee \(India\)"(?s)(.*?)</ul',source)[0])

or

return re.findall('href="([^"]+).+?>([^<]+)',re.findall('Zee .India."(?s)(.*?)</ul',source)[0])
 
  • Like
Reactions: Rockey

Rockey

Member
Sep 11, 2018
68
0
6
Streamwatcher2013 is it possible to make a makelist for this site?
because it looks very reliable and have good sources


Code:
http://cricfree.ws/

Thanks alot in advance
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
Try this:

Code:
<item>
<title>http://cricfree.ws</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold]Channel [makelist.param2][/COLOR]</title>
  <link>$doregex[getUrl]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
  list=re.findall('id="channels">(?s)(.*?)class="panel',page_data)[0]
  title=re.findall('(?:"channels"|"channel-item")>\n.*?href=".*?"(?:>|[\w\W]*?hannel.)[\w\W]*?(\w.*?)(?:</a>|\s*</a|\.[P|p|j|g])',list)
  for t in title:
    gtitle=t.replace('Channel ','').replace('- ','');list=list.replace(t,gtitle.title())
  return re.findall('(?:"channels"|"channel-item")>\n.*?href="(.*?)"(?:>|[\w\W]*?hannel.)[\w\W]*?(\w.*?)(?:</a>|\s*</a|\.[P|p|j|g])',list)
]]></expres>
<page>http://cricfree.ws</page>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
  url=re.findall('id="server1".*\n.*?src="([^"]+)',page_data)[0]
  source=requests.get(url,headers={'user-agent':'Mozilla/5.0','referer':'[makelist.param1]'}).content  #,verify=False
  inf=re.findall('id="iframe1".src="((h.+?)/chan[^"]+)',source)[0]
  source=requests.get(inf[0],headers={'user-agent':'Mozilla/5.0','referer':url}).content
  m3u8=re.findall('Clappr.Player[\w\W]*?(?:source|src):\s*[\'"]([^\'"]+)',source)[0]
  if 'http' in m3u8:
    return m3u8+'|user-agent=ipad&referer='+inf[0]
  else:
    return '%s%s|user-agent=ipad&referer=%s'%(inf[1],m3u8,inf[0])
]]></expres>
<page>[makelist.param1]</page>
<referer>http://cricfree.ws</referer>
</regex>
</item>
 
  • Like
  • Like
Reactions: Rockey and Picapau

Rockey

Member
Sep 11, 2018
68
0
6
streamwatcher2013 The only thing is only Bein channels work in this code. when they all come from the same source so what could be the reason?

sources examples:

Code:
hxxp://s1.livesport365.stream/channel/Bein_Sports3
hxxp://s1.livesport365.stream/channel/skys1
Any solutions?
 

Picapau

Member
Nov 15, 2018
69
9
8
here I made the one channel, I did not have time to do all the channels, I hope it serves you, thanks to the advice of Streamwatcher2013


Code:
<item> 
<title>[COLOR lightgreen]http://cricfree.ws[/COLOR]</title> 
<link>http://s1.livesport365.stream$doregex[cristalazul]</link> 
<regex>
<name>cristalazul</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
    import re
    import requests
    url = 'http://cricfree.ws/update/skys1'
    html = requests.get(url, headers={'User-Agent': 'Mozilla/5.0', 'Referer': 'http://cricfree.ws/update/skys1'}, verify=False).text
    url2 = re.findall('iframe1" src="(.*?)"', html)[0]
    html2 = requests.get(url2, headers={'User-Agent': 'Mozilla/5.0', 'Referer': url}, verify=False).text
    return re.findall('Clappr.Player[\w\W]*?(?:src|source).+?[\'"]([^\'"]+)', html2)[0]
]]></expres>
<page></page>
</regex>
</item>
 
  • Like
Reactions: Rockey

Rockey

Member
Sep 11, 2018
68
0
6
Thanks Picapau but it did not work.

Here is the error:


Code:
00:41:24 T:5620 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fs1.livesport365.stream%24doregex%5B
blabla etc...

is it possible to make a channel list for the site? i mean all channels open after first click?
 

Rockey

Member
Sep 11, 2018
68
0
6
Picapau im runnig kodi 16.1 jarvis and i always test codes and makelists in livestresmpro 2.8.1 and latest which is 2.8.6 versions. i tried it many times and showed you error log too
 

papaya

Member
Apr 4, 2018
42
1
8
hi master,

possible to get this movie makelist regex

Code:
https://animeku.tv/popular-anime
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
I only worked on 3 servers. If I have more time will get more servers to play. As usual enable the URLresolver or resolveURL for your need by #. Try this:

Code:
<item>
<title>https://animeku.tv/popular-anime</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param3][/COLOR]</title>
  <link>$doregex[makelist2]</link>
  <thumbnail>http:[makelist.param1]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  return re.findall('src="([^"]+)[\w\W]*?href="(.*?)">([^<]+)',re.findall('"postsbody">(?s)(.*?)</ul>',page_data)[0])
]]></expres>
<page>https://animeku.tv/popular-anime</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist2.param2][COLOR dodgerblue] ([makelist.param3])[/COLOR]</title>
  <link>$doregex[makelist3]</link>
  <thumbnail>http:[makelist.param1]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  url=re.findall('.+href="(.*?)">Watch',re.findall('"latestepisode"(?s)(.*?)</ul',page_data)[0])[0]+'?v=1'
  return re.findall('<option value="(h.*?)">([^<]+)',requests.get(url,headers={'user-agent':'Mozilla/5.0','referer':'https://animeku.tv/popular-anime'}).content.decode('ascii','ignore'))
]]></expres>
<page>[makelist.param2]</page>
<referer>https://animeku.tv/popular-anime</referer>
</regex>
<regex>
<name>makelist3</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist2.param2][/COLOR] (Server: [makelist3.param3])</title>
  <link>$doregex[getUrl]</link>
  <thumbnail>http:[makelist3.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  return re.findall('href=[\'"]([^\'"]+).+?src="([^"]+).+?<span>(?!LokalHD|Lokal480p|GvidHD|Gvid|usercloud)([^<]+)',re.findall('class="ui-tabs-nav">(?s)(.*?)</ul',page_data)[0])
]]></expres>
<page>[makelist2.param1]</page>
<referer>[makelist.param2]</referer>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
#  from resolveurl.plugins.lib import jsunpack
  from urlresolver.plugins.lib import jsunpack
  link=re.findall('id="videoad1".+?iframe.src=[\'"]([^\'"]+)',page_data)[0]
  source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':'[makelist3.param1]'}).content.decode('ascii','ignore')
  if 'googlevideo.com' in source:
     if '"720' in source:
        return re.findall('.+"file":"([^"]+).+?label":"720',source)[0]+'|user-agent=ipad&referer='+link
     else:
        return re.findall('"file":"([^"]+)',source)[0]+'|user-agent=ipad&referer='+link
  else:
     gsource=jsunpack.unpack(re.findall('(eval.*)',source)[0]).replace('\\', '')
     return re.findall('"file":"([^"]+)',gsource)[0]+'|user-agent=ipad'
]]></expres>
<page>[makelist3.param1]</page>
<referer>[makelist2.param1]</referer>
</regex>
<thumbnail>https://i0.wp.com/animeku.tv/wp-content/themes/animeku/images/logo.png</thumbnail>
</item>
 
  • Like
Reactions: papaya and Picapau

Lacasitos74

Member
Nov 21, 2016
43
1
8
Hy good people.
Can you help me with this group of films
hxxps://gigatuga.io/category/homepage/filmes/animacao/
Thanks in advance
 

thingy

Member
May 9, 2018
58
0
6
Could you help me with the regex for this site?
Code:
xxxp://www.televall.website/cnnes.html
I appreciate the help
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
It's simple regex. The main url is from embed.js with Hex. Try this

Code:
<item>
<title>http://www.televall.website/cnnes.html</title>
<link>$doregex[getUrl]|user-agent=ipad&amp;referer=http://stream.televall.website/cnnes.php</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[Clappr.Player[\w\W]*?(?:source|src):\s*[\'"]([^\'"]+)]]></expres>
<page>http://stream.televall.website/cnnes.php</page>
<referer>http://www.televall.website/cnnes.html</referer>
</regex>
</item>
 
  • Like
Reactions: thingy

Rockey

Member
Sep 11, 2018
68
0
6
Hello streamwatcher2013 i hope you are having a good day. The code that you made for :
Code:
hxxp://crickfree.ws
works only with Bein channels. when they all come from the same source so what could be the reason?

sources examples:

Code:
hxxp://s1.livesport365.stream/channel/Bein_Sports3 (working)
hxxp://s1.livesport365.stream/channel/skys1        (Not working)
Any solutions?
 

Rockey

Member
Sep 11, 2018
68
0
6
for example this

Code:
http://cricfree.ws/sky-sports-main-event-live-stream-2
and
http://cricfree.ws/sky-sports-football-live-stream
and                                      
http://cricfree.ws/bt-sport-2-live-stream
i mean in that makelist that you made nothing else plays except beinsport channels

see if there is a solution
Thank you in advance for ur helps tho
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
It play fine here



 

Rockey

Member
Sep 11, 2018
68
0
6
here is the error log specifically for that channel
it works fine in website but not playing in kodi

Code:
NOTICE: DVDPlayer: Opening: http://s1.livesport365.stream/m3u8/qpVGyhhYCg6qjBjcZAxzPu82G2JCf2UIL3+M8utbqO6/WX2FkI3rcQTlBoUDhRLn69MM+wQmlyS03JM+KVGoak+lyRkGgABTTB5zIfIdDbLnaVQyX9PTNLzm/ydQeO2ibwsT7u63JDry0CffRahtq5zBq5nd/m2u0+D0YU3QCKwOX9S73Gn4kaIrFRFLObIQ63LaXFCtuojAtQbgJhjbgQ==/playlist.m3u8|user-agent=ipad&referer=http://s1.livesport365.stream/channel/skys1
02:47:05 T:6900 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
02:47:05 T:1388  NOTICE: Creating InputStream
02:47:05 T:1388  NOTICE: Creating Demuxer
02:47:05 T:1388   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
02:47:05 T:1388  NOTICE: CDVDPlayer::OnExit()
02:47:05 T:6900   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.live.streamspro/?url=%24doregex%5BgetUrl%5D&mode=17&regexs=%7Bu%27getUrl%27%3A%20%7B%27expres%27%3A%20u%27%23%24pyFunction%5Cnimport%20re%2Crequests%5Cndef%20GetLSProData%28page_data%2CCookie_Jar%2Cm%29%3A%5Cn%20%20url%3Dre.findall%28%5C%27id%3D%22server1%22.%2A%5C%5Cn.%2A%3Fsrc%3D%22%28%5B%5E%22%5D%2B%29%5C%27%2Cpage_data%29%5B0%5D%5Cn%20%20source%3Drequests.get%28url%2Cheaders%3D%7B%5C%27user-agent%5C%27%3A%5C%27Mozilla/5.0%5C%27%2C%5C%27referer%5C%27%3A%5C%27http%3A//cricfree.ws/sky-sports-main-event-live-stream-2%5C%27%7D%29.content%20%20%23%2Cverify%3DFalse%5Cn%20%20inf%3Dre.findall%28%5C%27id%3D%22iframe1%22.src%3D%22%28%28h.%2B%3F%29/chan%5B%5E%22%5D%2B%29%5C%27%2Csource%29%5B0%5D%5Cn%20%20source%3Drequests.get%28inf%5B0%5D%2Cheaders%3D%7B%5C%27user-agent%5C%27%3A%5C%27Mozilla/5.0%5C%27%2C%5C%27referer%5C%27%3Aurl%7D%29.content%5Cn%20%20m3u8%3Dre.findall%28%5C%27Clappr.Player%5B%5C%5Cw%5C%5CW%5D%2A%3F%28%3F%3Asource%7Csrc%29%3A%5C%5Cs%2A%5B%5C%5C%5C%27%22%5D%28%5B%5E%5C%5C%5C%27%22%5D%2B%29%5C%27%2Csource%29%5B0%5D%5Cn%20%20if%20%5C%27http%5C%27%20in%20m3u8%3A%5Cn%20%20%20%20return%20m3u8%2B%5C%27%7Cuser-agent%3Dipad%26referer%3D%5C%27%2Binf%5B0%5D%5Cn%20%20else%3A%5Cn%20%20%20%20return%20%5C%27%25s%25s%7Cuser-agent%3Dipad%26referer%3D%25s%5C%27%25%28inf%5B1%5D%2Cm3u8%2Cinf%5B0%5D%29%5Cn%27%2C%20%27referer%27%3A%20u%27http%3A//cricfree.ws%27%2C%20%27name%27%3A%20u%27getUrl%27%2C%20%27page%27%3A%20u%27http%3A//cricfree.ws/sky-sports-main-event-live-stream-2%27%7D%7D]
02:47:05 T:6900  NOTICE: CDVDPlayer::CloseFile()
02:47:05 T:6900  NOTICE: DVDPlayer: waiting for threads to exit
02:47:05 T:6900  NOTICE: DVDPlayer: finished waiting
02:47:05 T:6900  NOTICE: CDVDPlayer::CloseFile()
02:47:05 T:6900  NOTICE: DVDPlayer: waiting for threads to exit
02:47:05 T:6900  NOTICE: DVDPlayer: finished waiting
 

vphuc81

New member
Jun 6, 2015
7
0
1
Hi, streamwatcher2013, Please help me. I need only 1 channel. Thank you

hxxp://xemtiviviet.com/xem-kenh-htv7-truc-tuyen.html
 

vphuc81

New member
Jun 6, 2015
7
0
1
Oh, streamwatcher2013 là người VN, cám ơn rất nhiều.
 

streamwatcher2013

Well-known member
Oct 24, 2013
910
395
63
USA
Sorry m8,

Their link is dynamic range so it won't work for me

Code:
http://27.67.50.74:18080/157_0.m3u8?Range=1533921-1533922&SessionID=520df1e8-fd55-4991-8326-bf4692b6ec2e
http://27.67.50.74:18080/157_0.m3u8?Range=1533922-1533923&SessionID=520df1e8-fd55-4991-8326-bf4692b6ec2e
.........................................................................................................................................................................................................
http://27.67.50.74:18080/157_0.m3u8?Range=1534195-1534196&SessionID=520df1e8-fd55-4991-8326-bf4692b6ec2e
 
  • Like
Reactions: vphuc81

vbprofi

Member
Feb 9, 2016
77
3
8
hello,
here a makelist for cricfree.ws. you have to optimize Title for Channelnames.
Code:
<item>
<title>cricfree.ws</title>
<link>$doregex[makelist]</link>

<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR lightgreen][makelist.param1][/COLOR]</title>
<link>http://s1.livesport365.stream$doregex[cristalazul]</link> 
<thumbnail>[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
 return re.findall('(?s)href="(.*?)".*?<img src="(.*?)"', re.findall('panel-heading channel-heading.*?All Channels(?s)(.*?)<br><table', page_data)[0])
]]></expres>
<page>http://cricfree.ws/</page>
</regex>

<regex>
<name>cristalazul</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
    import re
    import requests
    link = '[makelist.param1]' #'http://cricfree.ws/update/skys1'
    link1 = requests.get(link, headers={'User-Agent': 'Mozilla/5.0', 'Referer': 'http://cricfree.ws/update/skys1'}, verify=False).text
    url =  re.findall('<iframe.*?src="(http://cricfree.ws/.*?)"', link1)[0]

    html = requests.get(url, headers={'User-Agent': 'Mozilla/5.0', 'Referer': 'http://cricfree.ws/update/skys1'}, verify=False).text
    url2 = re.findall('iframe1" src="(.*?)"', html)[0]
    html2 = requests.get(url2, headers={'User-Agent': 'Mozilla/5.0', 'Referer': url}, verify=False).text
    return re.findall('Clappr.Player[\w\W]*?(?:src|source).+?[\'"]([^\'"]+)', html2)[0]
]]></expres>
<page></page>
</regex>
</item>
 

Rockey

Member
Sep 11, 2018
68
0
6
Error log:

11:49:14 T:5360 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fs1.livesport365.stream%24doregex%5Bcristalazul%5D&mode=17&regexs=%7Bu%27cristalazul%27%3A%20%7B%27expres%27%3A%20u%27%23%24pyFunction%5Cndef%20GetLSProData%28page_data%2CCookie_Jar%2Cm%29%3A%5Cn%20%20%20%20import%20re%5Cn%20%20%20%20import%20requests%5Cn%20%20%20%20link%20%3D%20%5C%27http%3A//cricfree.ws/sky-sports-cricket-live-stream-2%5C%27%20%23%5C%27http%3A//cricfree.ws/update/skys1%5C%27%5Cn%20%20%20%20link1%20%3D%20requests.get%28link%2C%20headers%3D%7B%5C%27User-Agent%5C%27%3A%20%5C%27Mozilla/5.0%5C%27%2C%20%5C%27Referer%5C%27%3A%20%5C%27http%3A//cricfree.ws/update/skys1%5C%27%7D%2C%20verify%3DFalse%29.text%5Cn%20%20%20%20url%20%3D%20%20re.findall%28%5C%27%3Ciframe.%2A%3Fsrc%3D%22%28http%3A//cricfree.ws/.%2A%3F%29%22%5C%27%2C%20link1%29%5B0%5D%5Cn%5Cn%20%20%20%20html%20%3D%20requests.get%28url%2C%20headers%3D%7B%5C%27User-Agent%5C%27%3A%20%5C%27Mozilla/5.0%5C%27%2C%20%5C%27Referer%5C%27%3A%20%5C%27http%3A//cricfree.ws/update/skys1%5C%27%7D%2C%20verify%3DFalse%29.text%5Cn%20%20%20%20url2%20%3D%20re.findall%28%5C%27iframe1%22%20src%3D%22%28.%2A%3F%29%22%5C%27%2C%20html%29%5B0%5D%5Cn%20%20%20%20html2%20%3D%20requests.get%28url2%2C%20headers%3D%7B%5C%27User-Agent%5C%27%3A%20%5C%27Mozilla/5.0%5C%27%2C%20%5C%27Referer%5C%27%3A%20url%7D%2C%20verify%3DFalse%29.text%5Cn%20%20%20%20return%20re.findall%28%5C%27Clappr.Player%5B%5C%5Cw%5C%5CW%5D%2A%3F%28%3F%3Asrc%7Csource%29.%2B%3F%5B%5C%5C%5C%27%22%5D%28%5B%5E%5C%5C%5C%27%22%5D%2B%29%5C%27%2C%20html2%29%5B0%5D%5Cn%27%2C%20%27name%27%3A%20u%27cristalazul%27%2C%20%27page%27%3A%20u%27None%27%7D%7D&iconimage=http%3A%2F%2Fcricfree.ws%2Fassets%2Fuploads%2Fchannels%2Fskysportscricket.png
 
Thread starter Similar threads Forum Replies Date
G Scraper Development 0
J Scraper Development 1
O Addon Requests 5