Help for Regex

Status
Not open for further replies.

skyhigh

Member
Jan 11, 2015
62
1
8
Any Idea how can I play this link on kodi LSpro

Code:
https://upvid.co/embed-gec8pzbech3b.html
You can try this, name it what you want and add some thumbs and fanart

Code:
<item>
<title>[COLOR blue][I][B]Test[/B][/I][/COLOR]</title>
<link>https://fs7.upvid.co/jvb3y62mm2sxdgj3nnrvnosicoqsv6tdvnascgtic6dfocycmeqfvxocjplq/v.mp4</link>
<thumbnail></thumbnail>
<fanart></fanart>
</item>
 

Alba123

New member
Apr 4, 2018
18
0
0
You can try this, name it what you want and add some thumbs and fanart

Code:
<item>
<title>[COLOR blue][I][B]Test[/B][/I][/COLOR]</title>
<link>https://fs7.upvid.co/jvb3y62mm2sxdgj3nnrvnosicoqsv6tdvnascgtic6dfocycmeqfvxocjplq/v.mp4</link>
<thumbnail></thumbnail>
<fanart></fanart>
</item>

Not working
 

yigit66

New member
Apr 29, 2016
8
0
0
hallo

hallo leute kann mir jemand bitte helfen fur makelist

Code:
hxxp://www.sonbolumizlesene2.com/
 

makal

Member
Jul 23, 2014
62
16
8
can somebody help me regex this
Code:
hxxps://my.mail.ru/mail/analycia/video/41
you can use urlresolver works well
Code:
<item>
<title>urlresolver</title>
<urlsolve>https://my.mail.ru/mail/analycia/video/41/4452.html</urlsolve>
</item>
 

Alba123

New member
Apr 4, 2018
18
0
0
you can use urlresolver works well
Code:
<item>
<title>urlresolver</title>
<urlsolve>https://my.mail.ru/mail/analycia/video/41/4452.html</urlsolve>
</item>
thanks makal but only one video plays, we can make them play all the videos
 

haider

New member
Dec 26, 2013
21
0
1
toronto
Code:
http://dramaonline.com
how can this one watch in kodi . any one help me . thanks
 
Last edited by a moderator:

streamwatcher2013

Well-known member
Oct 24, 2013
962
434
63
USA
Code:
http://dramaonline.com
how can this one watch in kodi . any one help me . thanks
Try this. It has more than one main server "Y...tube". I did only the most 2 servers also a lots of stream been taken off or not post from streamer.

Code:
<item>
<title>http://dramaonline.com/</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param3][/COLOR]</title>
  <link>$doregex[makelist2]</link>
  <thumbnail>[makelist.param2]</thumbnail>
  <fanart>http://dramaonline.com/wp-content/uploads/2017/05/darklogo.png</fanart>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
  list=re.findall('class="baner-sd">(?s)(.*?)<div',page_data)[0]
  return re.findall('"Icons-sd-a" href="(.*?)(?:#|").*?src="(.*?)".*?p">(.*?)<',list)
]]></expres>
<page>http://dramaonline.com/</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
  <title>[COLOR yellow][makelist2.param2][/COLOR]</title>
  <link>$doregex[makelist3]</link>
  <thumbnail>[makelist2.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
  list=re.findall('class="entry-meta">(?s)(.*?)</table',page_data)[0]
  ltitle=re.findall('(?:p>|td>).*?http://dramaonline.com/category/.*?/([^/]+)/".*?src',list)
  for e in ltitle:
    atitle=e.title()
    list=list.replace(e,atitle)
  return re.findall('(?:p>|td>).*?"(http://dramaonline.com/category/.*?/([^/]+)/)".*?src="(.*?)"',list)
]]></expres>
<page>[makelist.param1]</page>
<referer>http://dramaonline.com/</referer>
<cookieJar></cookieJar>
</regex>
<regex>
<name>makelist3</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist3.param3][/COLOR]</title>
  <link>$doregex[getUrl]</link>
  <thumbnail>[makelist3.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
  list=re.findall('class="entry-title">(?s)(.*?)id="footerwidget',page_data)[0]
  return re.findall('"featuredimage".*?href="(.*?)".*?src="(.*?)".*?title="(.*?).{6}"',list)
]]></expres>
<page>[makelist2.param1]</page>
<referer>[makelist.param1]</referer>
<cookieJar></cookieJar>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
  source=requests.get('[makelist3.param1]',headers={'Referer':'[makelist2.param1]'}).content.decode('ascii','ignore')
  if 'tune.pk' in source:
     link=re.findall('src="(.*?tune.pk.*?)"',source)[0].replace('#038;','');source=requests.get(link,headers={'Referer':'[makelist3.param1]'}).content.decode('ascii','ignore');url=re.findall('src="(.*?tune.pk.*?)"',source)[0]
     source=requests.get(url,headers={'Referer':link}).content.decode('ascii','ignore');info=re.search('(?s)requestURL.*?[\'"](.*?)[\'"].*?X-Forwarded-For":"(.*?)".*?:"(.*?)"',source)
     source=requests.get(info.group(1),headers={'Referer':url,'X-Forwarded-For':info.group(2),'X-secret-Header':info.group(3)}).content.decode('ascii','ignore');return re.findall('Auto.*?"(h.*?)"',source)[0].replace('\\','')+'|Referer=%s&User-Agent=iPad'%url
  elif 'youtube' in source:
     return 'plugin://plugin.video.youtube/play/?video_id='+re.findall('watch\?v=(.*?)"',source)[0]
]]></expres>
<page></page>
</regex>
<thumbnail>http://dramaonline.com/wp-content/uploads/2017/05/darklogo.png</thumbnail>
<fanart>http://dramaonline.com/wp-content/uploads/2017/05/darklogo.png</fanart>
</item>
 

suport

New member
Jun 2, 2015
16
0
1
hi to all can some one please regex this page like allway thanks for all the help
Code:
http://35.184.9.107/
 

Alba123

New member
Apr 4, 2018
18
0
0
Hello guys
please regex for this:
Code:
hxxp://filesusc.com/fox.php?ch=1
Thanks in advance
Try This
Code:
<item>
<title>Fox Sports</title>
<thumbnail></thumbnail>
<link>plugin://plugin.video.f4mTester/?streamtype=HLS&url=http://filesusc.com/fox.php?ch=1</link>
</item>
 

streamwatcher2013

Well-known member
Oct 24, 2013
962
434
63
USA
hi to all can some one please regex this page like allway thanks for all the help
Code:
http://35.184.9.107/
Try this

Code:
<item>
<title>http://35.184.9.107/</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param2][/COLOR]</title>
  <link>$doregex[makelist2]</link>
  <thumbnail>http://35.184.9.107/wp-content/uploads/2018/04/bloggif_5ac2db10389ea.png</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
  return re.findall('href="(.*?)".*?([^><]+)<',re.findall('Categories</div>(?s)(.*?)</ul',page_data)[0])
]]></expres>
<page>http://35.184.9.107/</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
  <title>[COLOR yellow][makelist2.param4][/COLOR] - [COLOR dodgerblue][makelist2.param3][/COLOR]</title>
  <link>$doregex[getUrl]</link>
  <thumbnail>[makelist2.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  count=re.findall('page/(\d+)/.*\n.*?"next page-numbers',page_data)[0];pn=1;data=[]
  while pn <= int(count):
     page='[makelist.param1]page/'+str(pn)+'/';source=requests.get(page).content.decode('ascii','ignore');list=re.findall('</h1>(?s)(.*?)class="wp-pagenavi',source)[0]
     data +=re.findall('href="(.*?)".*\n.*\n.*src="/(.*?)".*\n.*?>(.*?)<.*\n.*?>(.*?)<',list);pn +=1
  return data
]]></expres>
<page>[makelist.param1]</page>
<cookieJar></cookieJar>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests,base64
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  url=re.findall('src="(.*?)"',base64.b64decode(re.findall('"VideoPlayer".*\n.*?>(.*?)<',page_data)[0]))[0];source=requests.get(url,headers={'Referer':'[makelist2.param1]'}).content.decode('ascii','ignore')
  if 'q=720p' in source:
     source=requests.get(url+'&q=720p',headers={'Referer':'[makelist2.param1]'}).content.decode('ascii','ignore');return re.findall('src="(h.*?)".type="video/mp4"',source)[0]+'|Referer=%s&User-Agent=iPad'%url
  elif 'q=480p' in source:
     source=requests.get(url+'&q=480p',headers={'Referer':'[makelist2.param1]'}).content.decode('ascii','ignore');return re.findall('src="(h.*?)".type="video/mp4"',source)[0]+'|Referer=%s&User-Agent=iPad'%url
]]></expres>
<page>[makelist2.param1]</page>
<cookieJar></cookieJar>
</regex>
<thumbnail>http://35.184.9.107/wp-content/uploads/2018/04/bloggif_5ac2db10389ea.png</thumbnail>
</item>
 

cris_manya

Member
Nov 20, 2016
39
1
8
Try This
Code:
<item>
<title>Fox Sports</title>
<thumbnail></thumbnail>
<link>plugin://plugin.video.f4mTester/?streamtype=HLS&url=http://filesusc.com/fox.php?ch=1</link>
</item>
Thank you very much, is it possible to put a higher quality?
 

skyhigh

Member
Jan 11, 2015
62
1
8
Regex Please

Looking for a regex that will just play a random movie from here please and thanks

Code:
http://www.flixfeature.com/uploads/movies/
 

Alba123

New member
Apr 4, 2018
18
0
0
Looking for a regex that will just play a random movie from here please and thanks

Code:
http://www.flixfeature.com/uploads/movies/
Code:
<item>
<title>http://www.flixfeature.com/uploads/movies/</title>
<link>$doregex[makelist0]</link>


<regex>
<name>makelist0</name>
<listrepeat><![CDATA[
<title>[COLOR lightblue] [makelist0.param2] [/COLOR] </title>
<link>http://www.flixfeature.com/uploads/movies/[makelist0.param1]</link>
]]></listrepeat>
<expres><![CDATA[href="(.*?mp4)">(.*?)<]]></expres>
<page>http://www.flixfeature.com/uploads/movies/</page>
<referer></referer>
<cookieJar></cookieJar>
</regex>

<thumbnail></thumbnail>
<fanart></fanart>
</item>
 

sedyo

New member
Apr 28, 2018
14
0
1
Hi, can anyone help me with a regex this page please, telefivegb . c o m thanks in advance
 

skyhigh

Member
Jan 11, 2015
62
1
8
Thanks Alba for the effort, the makelist shows up but they dont play, weird they play in vlc but not kodi, adding a vlc user agent didnt help either?
 

makal

Member
Jul 23, 2014
62
16
8
Thanks Alba for the effort, the makelist shows up but they dont play, weird they play in vlc but not kodi, adding a vlc user agent didnt help either?
try this

Code:
<item>
<title>flixfeature</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[makelist.param2]</title>
<link>http://www.flixfeature.com/[makelist.param1]</link>
<thumbnail></thumbnail>
]]></listrepeat>
<expres>href="([^"]+)">(.*?)<</expres>
<page>http://www.flixfeature.com/uploads/movies/</page>
<referer>http://www.flixfeature.com/uploads/movies/</referer>
<thumbnail></thumbnail>
<fanart></fanart>
</regex>
</item>
 
Status
Not open for further replies.