Help for Regex

Status
Not open for further replies.

pink09

New member
Mar 22, 2018
11
0
0
Next time put your link in code tag. Code will expired in 1 day. Just wonder the hex encode has to do twice to get the right result

Code:
https://pastebin.com/raw/Pi5dJTVt
mycode like this.
how can I make an externallink?
sorry my English!!
Code:
<channel>
<name>Movie's name</name>
<thumbnail>thump.png</thumbnail>
<externallink>???????</externallink>
<fanart></fanart>
<info>SimpleKore Addon İnfo</info>
</channel>
 

streamwatcher2013

Well-known member
Oct 24, 2013
818
334
63
USA
mycode like this.
how can I make an externallink?
sorry my English!!
Code:
<channel>
<name>Movie's name</name>
<thumbnail>thump.png</thumbnail>
<externallink>???????</externallink>
<fanart></fanart>
<info>SimpleKore Addon İnfo</info>
</channel>
you may try like this

Code:
<channel>
<name>Movie's name</name>
<fanart></fanart>
<thumbnail></thumbnail>
<info></info>
<items>

<item>
<title>name</title>
<thumbnail></thumbnail>
<link>ignore</link>
<externallink>https://pastebin.com/raw/Pi5dJTVt</externallink>
<fanart></fanart>
<info>SimpleKore Addon İnfo</info>
</item>

</items>
</channel>
 

doctor4979

New member
Sep 25, 2015
9
0
0
mytvonline

hi, anyone can help regex this channel ?

Code:
https://www.mytvonline.org/fr/Gameone-fr.html
i try with this regex but not working with the link above (others channels are working with this regex):

Code:
<item>
<title>mytvonline.org (game one) - (sfr)</title>
<link>$doregex[m3u8]|User-Agent=iPad</link>
<regex>
<name>m3u8</name>
<expres>new Clappr.Player.*?source: "(.*?)"</expres>
<page>https://www.mytvonline.org/fr/Gameone-fr.html</page>
<referer>https://www.mytvonline.org/fr/Gameone-fr.html</referer>
<cookieJar></cookieJar>
<includeheaders></includeheaders>
</regex>
</item>
thank you !
 

streamwatcher2013

Well-known member
Oct 24, 2013
818
334
63
USA
hi, anyone can help regex this channel ?

Code:
https://www.mytvonline.org/fr/Gameone-fr.html
i try with this regex but not working with the link above (others channels are working with this regex):

Code:
<item>
<title>mytvonline.org (game one) - (sfr)</title>
<link>https://www.tvaddons.co/forums/$doregex[m3u8]|User-Agent=iPad</link>
<regex>
<name>m3u8</name>
<expres>new Clappr.Player.*?source: "(.*?)"</expres>
<page>https://www.mytvonline.org/fr/Gameone-fr.html</page>
<referer>https://www.mytvonline.org/fr/Gameone-fr.html</referer>
<cookieJar></cookieJar>
<includeheaders></includeheaders>
</regex>
</item>
thank you !
Need Referer

Code:
<item>
<title>mytvonline.org (game one) - (sfr)</title>
<link>$doregex[m3u8]|User-Agent=iPad&Referer=https://www.mytvonline.org/fr/Gameone-fr.html</link>
<regex>
<name>m3u8</name>
<expres>new Clappr.Player.*?source: "(.*?)"</expres>
<page>https://www.mytvonline.org/fr/Gameone-fr.html</page>
</regex>
</item>
 

Beezlo

Member
Mar 17, 2016
31
0
6
Hi all can anybody help me to create a makelist?

hxxps://www.matbet6.tv/

Thanks in Advance
 

vbprofi

Member
Feb 9, 2016
74
3
8
hello experts,
I started this code and need help to fix it. The code is working, but I don't get all links on the first part. the link with # is missing.
And I need help to finished the code for choosing hostings.

Code:
<item>
<title>s.to</title>
<link>$doregex[ml]</link>

<regex>
<name>ml</name>
<listrepeat><![CDATA[
   <title>[COLOR yellow][ml.param2][/COLOR]</title>
   <link>$doregex[mls]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import requests,re,urllib
def GetLSProData(page_data, Cookie_Jar, m):
  source = re.findall('href="(.*?/katalog/.*?)".*?">(.*?)</a>',page_data)
  return source
]]></expres>
<page>http://s.to/</page>
<agent>Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46</agent>
<cookieJar></cookieJar>
</regex>

<regex>
<name>mls</name>
<listrepeat><![CDATA[
   <title>[COLOR yellow][mls.param2][/COLOR]</title>
   <link>$doregex[staffel]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import requests,re,urllib
def GetLSProData(page_data, Cookie_Jar, m):
  source = re.findall('href="(/serie/stream/.*?)".+?<h3>(.*?)<span',page_data)
  return source
]]></expres>
<page>https://s.to[ml.param1]</page>
<agent>Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46</agent>
<cookieJar></cookieJar>
</regex>

<regex>
<name>staffel</name>
<listrepeat><![CDATA[
   <title>[COLOR yellow][staffel.param2][/COLOR]</title>
   <link>http://</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import requests,re,urllib
def GetLSProData(page_data, Cookie_Jar, m):
  source = re.findall('href="(/serie/stream/the-big-bang-theory/.*?)".+?title="(.*?)"',page_data)
  return source
]]></expres>
<page>https://s.to[mls.param1]</page>
<agent>Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46</agent>
<cookieJar></cookieJar>
</regex>
</item>
 
Last edited:

vbprofi

Member
Feb 9, 2016
74
3
8
I saw know, there is an captca-request. is anyone know what about type of this captcha? give an chance, to use it in lsp?
hello experts,
I started this code and need help to fix it. The code is working, but I don't get all links on the first part. the link with # is missing.
And I need help to finished the code for choosing hostings.

Code:
<item>
<title>s.to</title>
<link>$doregex[ml]</link>

<regex>
<name>ml</name>
<listrepeat><![CDATA[
   <title>[COLOR yellow][ml.param2][/COLOR]</title>
   <link>$doregex[mls]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import requests,re,urllib
def GetLSProData(page_data, Cookie_Jar, m):
  source = re.findall('href="(.*?/katalog/.*?)".*?">(.*?)</a>',page_data)
  return source
]]></expres>
<page>http://s.to/</page>
<agent>Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46</agent>
<cookieJar></cookieJar>
</regex>

<regex>
<name>mls</name>
<listrepeat><![CDATA[
   <title>[COLOR yellow][mls.param2][/COLOR]</title>
   <link>$doregex[staffel]</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import requests,re,urllib
def GetLSProData(page_data, Cookie_Jar, m):
  source = re.findall('href="(/serie/stream/.*?)".+?<h3>(.*?)<span',page_data)
  return source
]]></expres>
<page>https://s.to[ml.param1]</page>
<agent>Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46</agent>
<cookieJar></cookieJar>
</regex>

<regex>
<name>staffel</name>
<listrepeat><![CDATA[
   <title>[COLOR yellow][staffel.param2][/COLOR]</title>
   <link>http://</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import requests,re,urllib
def GetLSProData(page_data, Cookie_Jar, m):
  source = re.findall('href="(/serie/stream/the-big-bang-theory/.*?)".+?title="(.*?)"',page_data)
  return source
]]></expres>
<page>https://s.to[mls.param1]</page>
<agent>Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/47.0.2526.70 Mobile/13C71 Safari/601.1.46</agent>
<cookieJar></cookieJar>
</regex>
</item>
 

makal

Member
Jul 23, 2014
62
16
8
help please

hxxp://whostreams.net/embed/3f78bgefr

can anibody help me with this link please..

Thanks a lot
try this
Code:
<item>
    <title>whostreams</title>
    <link>$doregex[geturl]</link>
    <regex>
        <name>geturl</name>
        <expres>source:"(.*?)"</expres>
        <page>$doregex[getunpacked]</page>
    </regex>
    <regex>
        <name>getunpacked</name>
        <expres>$pyFunction:get_unpacked(page_data,'(eval\(function\(p,a,c,k,e,d.*)' )</expres>
        <page>http://whostreams.net/embed/3f78bgefr</page>
        <referer>http://whostreams.net/</referer>
        <connection>keep-alive</connection
    </regex>
</item>
 
Status
Not open for further replies.