Help for Regex

Status
Not open for further replies.

streamwatcher2013

Well-known member
Oct 24, 2013
817
334
63
USA
I arrived at home now, but both not working.....it shows just 232 movies. It does not carry the entire film collection. when I select the movie server, an error occurs
Increase number at count=10 to get more movies. It will take longer to index. Can not tell why it wont play on your end unless you post a log file via pastebin
 

BymemoLee

Member
Apr 30, 2018
86
13
8
The SSL certificate used by the site (pavandayal) is not trusted by Kodi. You will need to export the cert and add to the Kodi's folder C:\Program Files(x86)\Kodi\system\certs\pavandayalcom.pem
or C:\Program Files(x86)\Kodi\system\certs\pavandayalcom.cert.
The site was taken too.................. long to load

Code:
-----BEGIN CERTIFICATE-----
MIID0jCCArqgAwIBAgIQaghdSAwzwbNB2xdcLjIHNzANBgkqhkiG9w0BAQsFADBn
MSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUw
EwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRk
bGVyUm9vdDAeFw0xNzExMTExMjUyMTFaFw0yMzExMTExMjUyMTFaMF0xKzApBgNV
BAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoM
DERPX05PVF9UUlVTVDEXMBUGA1UEAwwOcGF2YW5kYXlhbC5jb20wggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZPuGPFUaAlXjpd+69xfdgiT5fCODoEEXI
mb4sBW/uqM8pNEDK8MmZKaCDLMCzPiS3NH9+oM1utJCKmhGF8v4CW6h5IdKlbWdh
pLaTQie4R7izTRb3bQPFHf3j2rkh9udGfyYnsIGC6VmfyZYXtrIDX3VgQEvY394u
KpMPyJ4NEZDaArkS+9DvhPwJuCqy0oSEyFCbiBd4jMAEKRZiJhTiK8yRTH84upcQ
ONyekbr76I4Dh5qs7mgjks/MVKQF63yJyxSW0vwLpnzaYcBjt6iGZ1gYVgmlQeQq
upqw7feq0D58019bay+C9JxUCgv5CqGVHVOMdNStQHkw1xysHW85AgMBAAGjgYMw
gYAwDgYDVR0PAQH/BAQDAgSwMBMGA1UdJQQMMAoGCCsGAQUFBwMBMBkGA1UdEQQS
MBCCDnBhdmFuZGF5YWwuY29tMB8GA1UdIwQYMBaAFAvQCqok/58a9+oIgAMvsKA1
QHLuMB0GA1UdDgQWBBTklM87hHtrNQbyIHPn0ft0IRE55DANBgkqhkiG9w0BAQsF
AAOCAQEATXafp0UJyutB/sLlm5MUPzctahFweUL0FlEo6CVrWo0DppSZWojxPaln
pqvUsOMxfGsNSC2dIFglqhlQWOEFuHq2YnMnKvS5hMOXE9zrLaUPJ/yEQ3eSOGKE
eXO8iaIIr7T/3ok2c3m2jHyNMbkEUXaUfCdzRalRoYkDs5OcB0xSo/Ztx9aXRPRQ
AZKwP9yhoqvjFwoo/rPZPwHSNtbnilFbTLAQPl9ERhmL8yxhsY9/6sVhFPP31Ncs
hvzwgQ44GsqyHDB3ECfTjsh9YcpgRp+lQ4vjYMZ3fe6IXmpjPuINKs5Y5+LEw9aS
bT7RgGKGWe6fH5c+gdQlpdNyTmR14w==
-----END CERTIFICATE-----
Code:
<item>
<title>https://pavandayal.com/iptv/</title>
<link>https://www.tvaddons.co/forums/$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><=!=[=C=D=A=T=A=[
  <title>Server: [COLOR gold][makelist.param2][/COLOR]</title>
  <link>https://www.tvaddons.co/forums/$doregex[makelist2]</link>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[#$pyFunction
import re,requests
def GetLSProData(page_data, Cookie_Jar, m):#streamwatcher2013
 list=requests.get('https://pavandayal.com/iptv/links.php',headers={'User-Agent':'Mozilla/5.0','Referer':'https://pavandayal.com/iptv/','Host':'pavandayal.com','X-Requested-With':'XMLHttpRequest','Accept':'*/*','Connection':'keep-alive','Cache-Control':'no-cache'}).text
 return re.findall('data-clipboard-text="(.*?)">.*?//(.*?)(?:\:|/)',list)
]=]=></expres>
<page></page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><=!=[=C=D=A=T=A=[
  <title>[COLOR gold][makelist2.param1][/COLOR]</title>
  <link>https://www.tvaddons.co/forums/[makelist2.param2]|User-Agent=iPad</link>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[#$pyFunction
import re
def GetLSProData(page_data, Cookie_Jar, m):#streamwatcher2013
 return re.findall('INF.{4}(\w.*)\n(.*)',page_data)
]=]=></expres>
<page>[makelist.param1]</page>
</regex>
</item>
Thank you so much
 

Beezlo

Member
Mar 17, 2016
31
0
6
hi all,

need this to fix please guys
<item>
<title>CUKUR ]</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR yellow][makelist.param3][/COLOR]</title>
<link>$doregex[makelist2]</link>
<thumbnail>[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
return re.findall('(?s)href="/(.*?)".*?src="(.*?)".*?title">([^<]+)',re.findall('class="swiper-wrapper">(?s)(.*?)"section-series-program-info',page_data)[0])
]]></expres>
<page>hxxps://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
<title>[COLOR yellow]Episode [makelist2.param2]. Bölüm[/COLOR]</title>
<link>$doregex[getUrl]</link>
<thumbnail>[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
return re.findall('href="/(.*?)">([^<]+)',re.findall('class="video-part">(?s)(.*?)</ul',page_data)[0])
]]></expres>
<page>hxxps://www.showtv.com.tr/[makelist.param1]</page>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
list=re.findall('"ht_files"(?s)(.*?)<script',page_data)[0].replace('\\','')
if '1080' in list:
return re.findall('"name":"1080"."file":"([^"]+)',list)[-1]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/[makelist2.param1]'
elif '720' in list:
return re.findall('"name":"720"."file":"([^"]+)',list)[-1]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/[makelist2.param1]'
elif 'ht_mobile' in list:
return re.findall('"ht_mobile_m3u8":"([^"]+)',list)[0]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/[makelist2.param1]'
else:
return re.findall('"Standart","file":"([^"]+)',list)[-1]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/[makelist2.param1]'
]]></expres>
<page>hxxps://www.showtv.com.tr/[makelist2.param1]</page>
<referer>hxxps://www.showtv.com.tr/[makelist.param1]</referer>
<agent>Mozilla/5.0</agent>
<cookieJar></cookieJar>
</regex>
<thumbnail></thumbnail><fanart></fanart></item>
 
Last edited by a moderator:

streamwatcher2013

Well-known member
Oct 24, 2013
817
334
63
USA
hi all,

need this to fix please guys
They removed the episodes. Try this:

Code:
<item>
<title>CUKUR ]</title>
<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatche r2013
 list=re.findall('"ht_files"(?s)(.*?)<script',page_data)[0].replace('\\','')
 if '1080' in list:
   return re.findall('"name":"1080"."file":"([^"]+)',list)[-1]
 elif '720' in list:
   return re.findall('"name":"720"."file":"([^"]+)',list)[-1]
 elif 'ht_mobile' in list:
   return re.findall('"ht_mobile_m3u8":"([^"]+)',list)[0]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847'
 else:
   return re.findall('"Standart","file":"([^"]+)',list)[-1]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847'
]]></expres>
<page>https://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847</page>
</regex>
<thumbnail></thumbnail><fanart></fanart></item>
 

Beezlo

Member
Mar 17, 2016
31
0
6
They removed the episodes. Try this:

Code:
<item>
<title>CUKUR ]</title>
<link>https://www.tvaddons.co/forums/$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><=!=[=C=D=A=T=A=[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatche r2013
 list=re.findall('"ht_files"(?s)(.*?)<script',page_data)[0].replace('\\','')
 if '1080' in list:
   return re.findall('"name":"1080"."file":"([^"]+)',list)[-1]
 elif '720' in list:
   return re.findall('"name":"720"."file":"([^"]+)',list)[-1]
 elif 'ht_mobile' in list:
   return re.findall('"ht_mobile_m3u8":"([^"]+)',list)[0]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847'
 else:
   return re.findall('"Standart","file":"([^"]+)',list)[-1]+'|User-Agent=iPad&Referer=https://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847'
]=]=></expres>
<page>https://www.showtv.com.tr/dizi/tum_bolumler/cukur-sezon-2-bolum-42-izle/66847</page>
</regex>
<thumbnail></thumbnail><fanart></fanart></item>

Thaks so much , may be its possible a Makelist Streamwatcher :)
 

Picapau

Member
Nov 15, 2018
69
9
8
Web livestreampro

hello, the web domain of the livestreampro wikipedia has expired, some of you keep a copy of this website, thanks.
 

jujuuj

New member
Feb 25, 2015
27
0
1
http
hello, the web domain of the livestreampro wikipedia has expired, some of you keep a copy of this website, thanks.
still there !
Code:
http://livestreamspro.tk/wiki/index.php?n=LiveStreamsPro.LiveStreamsPro
.. or here at left :
Code:
http://toolsp.forumactif.com
Bye
 
Last edited:

cezi1

Member
Aug 1, 2017
30
1
6
May be the urlresolver is not compatible with your LSP portable version. Nothing I can do, just use the 2nd coding then

I think this version of livestreamspro could work!
Code:
https://www49.zippyshare.com/d/no0b7uop/36096/plugin.video.live.streamspro-2.8.1.zip
 
Status
Not open for further replies.