Help for Regex

Status
Not open for further replies.

Rockey

Member
Sep 11, 2018
68
0
6
Hello experts..

Can i have a regex for this site with categories?
Thanks in advance

Code:
https://nostalgik-tv.com
 

umonkey

Member
Sep 18, 2012
70
0
6
hey Streamwatcher hope your well mate?

Sorry to be asking again but any chance you could help me with this site:

hxxps://egy.best/tv/
hxxps://egy.best/movies/

Many Thanks in advance
 
Last edited:

karl1981

New member
Nov 13, 2018
2
0
0
Hi, could you help me please with a regex for this Hungarian sport channel:
Code:
https://www.mediaklikk.hu/m4-elo/
Thank you in advance
 
Last edited by a moderator:

altug

Member
Jul 7, 2016
67
2
8
you could help me with a regex for this


Code:
https://www.kanald.com.tr/muhtesem-ikili/bolumler
Thank you
 

wulf

New member
Jun 9, 2017
25
0
1
Hello can someone help me with this regex please ?

hxxp://stream.gleeze.com/mitele?ch=bemad

hxx://stream.gleeze.com/mt.m3u8?ch=bemad

i was try like this<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
return re.findall('Clappr.Player[\w\W]*?source.+?[\'"]([^\'"]+)',page_data)[0]+'|user-agent=ipad&referer=xxxphotocall.tv/'
]]></expres>
<page>xxxstream.gleeze.com/mt.m3u8?ch=bemad</page>
<referer>xxx/photocall.tv/</referer>
</regex>


but dont work

was work good with *********** but take to long to open everytime
 
Last edited:

BymemoLee

Member
Apr 30, 2018
86
13
8
you could help me with a regex for this


Code:
https://www.kanald.com.tr/muhtesem-ikili/bolumler
Thank you
Code:
<item>
<title>Muhteşem İkili Bölümler</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param3] Bölüm[/COLOR]</title>
  <link>$doregex[makelist2]</link>
  <thumbnail>https://[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  count=1;pn=1;data=[]
  while pn <= int(count):
    page='https://www.kanald.com.tr/muhtesem-ikili/bolumler?page='+str(pn);source=requests.get(page).text
    data +=re.findall('"bg-wrapper".+?href="/(.*?)".+?data.+?//(.*?)".alt="(.*?)\sB.+?id="([^"]+)',re.findall('class="kd-docs-thumbnails">(?s)(.*?)<li class="next',source)[0]);pn +=1
  return  data
]]></expres>
<page>https://www.kanald.com.tr/muhtesem-ikili/bolumler</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
  <title>[COLOR gold][makelist.param3] Bölüm[/COLOR] (Eps. [makelist2.param2])</title>
  <link>$doregex[getUrl]</link>
  <thumbnail>https://[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  return re.findall('href="(\?p=(\d+))"',re.findall('id="partPaginator">(?s)(.*?)</ul',page_data)[0])
]]></expres>
<page>https://www.kanald.com.tr/[makelist.param1]</page>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  source=requests.get('https://www.kanald.com.tr/actions/content/media/[makelist.param4][makelist2.param1]&pc=6',headers={'referer':'https://www.kanald.com.tr/[makelist.param1]'}).text.replace('\u0026','&')
  inf=re.findall('"ServiceUrl":"(.*?)"."SecurePath":"([^"]+)',source)[0];m3u8=inf[0]+inf[1]
  source=requests.get(m3u8,headers={'Referer':'https://www.kanald.com.tr/[makelist.param1][makelist2.param1]'}).text
  if '1250000' in source:
    return m3u8.replace('index','1000/prog_index')+'|Referer=https://www.kanald.com.tr/[makelist.param1][makelist2.param1]'
  elif '1000000' in source:
    return m3u8.replace('index','750/prog_index')+'|Referer=https://www.kanald.com.tr/[makelist.param1][makelist2.param1]'
  elif '750000' in source:
    return m3u8.replace('index','500/prog_index')+'|Referer=https://www.kanald.com.tr/[makelist.param1][makelist2.param1]'
]]></expres>
<page></page>
</regex>
<thumbnail>https://s.kanald.com.tr/ps/kanald/70/204x100/5bb7a9609850b92724b8ebbb.png</thumbnail>
</item>
 

streamwatcher2013

Well-known member
Oct 24, 2013
818
334
63
USA
Hello can someone help me with this regex please ?

hxxp://stream.gleeze.com/mitele?ch=bemad

hxx://stream.gleeze.com/mt.m3u8?ch=bemad

i was try like this<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):#streamwatcher2013
return re.findall('Clappr.Player[\w\W]*?source.+?[\'"]([^\'"]+)',page_data)[0]+'|user-agent=ipad&referer=xxxphotocall.tv/'
]=]=></expres>
<page>xxxstream.gleeze.com/mt.m3u8?ch=bemad</page>
<referer>xxx/photocall.tv/</referer>
</regex>


but dont work

was work good with *********** but take to long to open everytime
Try this

Code:
https://pastebin.com/raw/si4r7i2Q
 
Status
Not open for further replies.