Help for Regex

Status
Not open for further replies.

skyhigh

Member
Jan 11, 2015
54
0
6
Thanks makal that solution worked, the only way I able to get a link to play was to add |key= at the end of link..but thanks to you I dont have to :)
 
Last edited:

makal

Member
Jul 23, 2014
62
16
8
Hello everyone
Can anybody help me please
i try everything to create a makelist but unfortunately I did not succeed.
Code:
https://manototv.com/videos/list/
Thanks in advance
try this
Code:
<item>
<title>manototv</title>
<link>$doregex[makelist]</link>
<regex>
   <name>makelist</name>
   <listrepeat><![CDATA[
          <title>[makelist.param3]</title>
          <link>$doregex[url]|User-Agent=iPhone</link>
          <thumbnail>[makelist.param2]</thumbnail>
   ]]></listrepeat>
   <expres><![CDATA[a href="(.*?)"[\w\W]*?src="(.*?)"[\w\W]*?Line1">(.*?)<]]></expres>
   <page>https://manototv.com/videos/list/</page>
   <cookieJar></cookieJar>
</regex>

<regex>
<name>url</name>
<expres>source src="([^"']+)"</expres>
<page>https://manototv.com/[makelist.param1]</page>
<referer>https://manototv.com/</referer>
<agent>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36</agent>
<cookieJar></cookieJar>
<thumbnail>https://manototv.com/content/images/apple-icon-144x144.png</thumbnail>
</regex>
</item>
 

kavan

Member
Aug 14, 2016
67
5
8
@ Dear makal
Perfect
I don’t know how to thank you!
Thank you for your all your help
 
Last edited:

kavan

Member
Aug 14, 2016
67
5
8
Hello Makal
Can you help me?
Please makelist for this:
Code:
https://ir.voanews.com/z/1868
Thanks in advance
 

disaresta43

New member
May 18, 2016
16
0
1
Hello,

is a regex for this site possible:

Code:
https://www.odeontv1.tv/tr/izle/bein-sport-1
can someone help me?
Thanks in advance.
 

BymemoLee

Member
Apr 30, 2018
88
16
8
Hello,

is a regex for this site possible:

Code:
https://www.odeontv1.tv/tr/izle/bein-sport-1
can someone help me?
Thanks in advance.
Code:
https://s03.tvcdn.co/live/bein-sport-1.m3u8|Referer=https://www.odeontv1.tv/tr/channel/watch/bein-sport-1&User-Agent=Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Mobile Safari/537.36
 
Last edited:

disaresta43

New member
May 18, 2016
16
0
1
Code:
https://s03.tvcdn.co/live/bein-sport-1.m3u8|Referer=https://www.odeontv1.tv/tr/channel/watch/bein-sport-1&User-Agent=Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Mobile Safari/537.36
Thank you!
 
Last edited:

haider

New member
Dec 26, 2013
21
0
1
toronto
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>https://www.tvaddons.co/forums/$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><=!=[=C=D=A=T=A=[
  <title>[COLOR gold][makelist.param3][/COLOR]</title>
  <link>https://www.tvaddons.co/forums/$doregex[makelist2]</link>
  <thumbnail>[makelist.param2]</thumbnail>
  <fanart>http://dramaonline.com/wp-content/uploads/2017/05/darklogo.png</fanart>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[
  <title>[COLOR yellow][makelist2.param2][/COLOR]</title>
  <link>https://www.tvaddons.co/forums/$doregex[makelist3]</link>
  <thumbnail>[makelist2.param3]</thumbnail>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[
  <title>[COLOR gold][makelist3.param3][/COLOR]</title>
  <link>https://www.tvaddons.co/forums/$doregex[getUrl]</link>
  <thumbnail>[makelist3.param2]</thumbnail>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[#$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>
thanks its working good.
 

Pynot

New member
Oct 16, 2015
4
0
0
Could anyone help me with this, please?

Code:
ht tp://www.redecanais.net/izombie-1a-temporada-episodio-12-rato-morto-rato-vivo-rato-marrom-branco-certo_5b343559e.html
Thank you very much guys!
 

cris_manya

Member
Nov 20, 2016
34
0
6
Could anyone help me with this, please?

Code:
ht tp://www.redecanais.net/izombie-1a-temporada-episodio-12-rato-morto-rato-vivo-rato-marrom-branco-certo_5b343559e.html
Thank you very much guys!
Try this:
Code:
<item>
<title>iZombie T01EP12</title>
<link>http://d1253j4wvfqwc4.cloudfront.net/RedeCanais/RedeCanais/RCServer11/ondemand/IZOMBIET01EP12.mp4</link>
</item>
 
Last edited:

izac-rock

New member
May 2, 2018
32
0
0
I need with regex, thanks

and if possible, this one too, please, thank you very much. hxxp://netcine.us/episode/fuckworld-1x01/
 

Alba123

New member
Apr 4, 2018
18
0
0
I need with regex, thanks

and if possible, this one too, please, thank you very much. hxxp://netcine.us/episode/fuckworld-1x01/
Try This Friend

Code:
<item>
<title>[B][COLOR tomato]The End of the Fucking World[/COLOR] | [COLOR lime]SE-1[/COLOR] [COLOR yellow]EP-01[/COLOR][/B]</title>
<link>$doregex[GetPageUrl]</link>
<regex>
<name>GetPageUrl</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m,url='http://www.micetop.us/desktop2.php?n=01&p=teoffw/01leg'):
   import liveresolver
   u = liveresolver.resolve(url)
   return u
]]></expres>
<page></page>
<cookieJar></cookieJar>
</regex>
<thumbnail>https://i.jeded.com/i/the-end-of-the-fing-world.99703.jpg</thumbnail>
<fanart>http://menshouse.gr/media/2018/01/the-end-of-the-fucking-world-850x480.jpg</fanart>
</item>
 

cris_manya

Member
Nov 20, 2016
34
0
6
Hi guys
can someone help me play at a higher quality
Code:
hxxp://filesusc.com/fox.php?ch=1
Thanks in advance
 

papaya

Member
Apr 4, 2018
42
1
8
hi guys.

anyone know how to regex this channel

Code:
http://nowwatchtvlive.net/watch-mutv-live-manchester-united-fc-online-mutv-stream-free/
 

makal

Member
Jul 23, 2014
62
16
8
hi guys.

anyone know how to regex this channel

Code:
http://nowwatchtvlive.net/watch-mutv-live-manchester-united-fc-online-mutv-stream-free/
try this

Code:
<item>
<title>text</title>
<link>plugin://plugin.video.f4mTester/?streamtype=HLSRETRY&url=$doregex[encodedurl]</link>
<regex>
<name>encodedurl</name>
<expres>source: "(.*?)"</expres>
<page>http://nowwatchtvlive.net/channel-tab-frame/mutv-1.php</page>
<referer>http://nowwatchtvlive.net/</referer>
<connection>keep-alive</connection>
</regex>
</item>
 
Status
Not open for further replies.