please post the original webpage link, from where you the streamlink get.Can somone help me to regex this
Code:Channel: http://loadbalancer2.galaxystreamz.xyz:8880/albbe2030/digiaksion/playlist.m3u8 Tokken: http://swiftstreamz.com/token1121.php User&Password: @Swift11# @Swift11#
I'm interessted for a working solution too. I have try to fix it, but it is to hard for me. I can't parse from page.I need a regex for german dubbed movies. Can you help me if it's possible please.
Code:https://pastebin.com/raw/rdxL8KgS
Can somone help me to regex this:
hxxp : // 123tv . live / watch / cn n/
Remove spaces
Im looking for in all thread, with no luck...
Thanks in advance!
<item>
<title>http://123tv.live/watch/cnn/</title>
<link>$doregex[cristalazul]?1&json=Q05OfHxodHRwOi8vMTIzdHYubGl2ZS93cC1jb250ZW50L3VwbG9hZHMvMjAxOC8wOC9jbm4ucG5n|Referer=http://123tv.live/watch/cnn/&User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0</link>
<regex>
<name>b64</name>
<expres>atob\('(.*?)'</expres>
<page>http://123tv.live/watch/cnn/</page>
<referer>http://123tv.live/</referer>
<agent>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0</agent>
<cookieJar></cookieJar>
</regex>
<regex>
<name>cristalazul</name>
<expres>$pyFunction:base64.b64decode('$doregex[b64]')</expres>
<page></page>
</regex>
</item>
Few days ago i have asked the same page but with all categories not only persian, and maybe with a better video resolution. Needs some more time be patient experts here are workin on it.is it possible to have a regex for this site?
Persian channelsCode:https://www.glwiz.com/Pages/Player/Player.aspx
![]()
Thanks in advance
Hi Picapau, what do you think about this:here you have it working...
very easyHi.Can u help me this regex:
hxxp://www.axadledirect.com/channel/view/rtd-en-direct-19
<item>
<title>axaledirect</title>
<link>rtsp://www.axadledirect.com:1936/19/stream|Referer=http://www.axadledirect.com/channel/view/rtd-en-direct-19&User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0</link>
</item>
<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>
Can someone help me? It does not work
Code:<item> <title>Muhteşem İkili Bölümler</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] Bölüm[/COLOR]</title> <link>https://www.tvaddons.co/forums/$doregex[makelist2]</link> <thumbnail>https://[makelist.param2]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[ <title>[COLOR gold][makelist.param3] Bölüm[/COLOR] (Eps. [makelist2.param2])</title> <link>https://www.tvaddons.co/forums/$doregex[getUrl]</link> <thumbnail>https://[makelist.param2]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[#$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>
<item>
<title>[COLOR gold]Muhteşem İkili[/COLOR]</title>
<link>$doregex[encodedURL]|User-Agent=iPad</link>
<regex>
<name>encodedURL</name>
<listrepeat><![CDATA[
<title>[COLOR gold][encodedURL.param3][/COLOR]</title>
<link>$doregex[makelist]</link>
<thumbnail>https://[encodedURL.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
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).content;list=re.findall('class="kd-docs-thumbnails">(?s)(.*?)<li class="next',source)[0].replace('Ö','O').replace('ö','ö').replace('Ç','Ç').replace('ü','ü')
data +=re.findall('.+?href="/(.+?)".*\n.*data.+?//(.*?)".alt=".*?\s.*?\s([^"]+)"[\w\W]*?id="([^"]+)',list);pn +=1
return data
]]></expres>
<page>https://www.kanald.com.tr/muhtesem-ikili/bolumler</page>
</regex>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR gold][encodedURL.param3][/COLOR] ([makelist.param2]. Part)</title>
<link>$doregex[getUrl]</link>
]]></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/[encodedURL.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/[encodedURL.param4][makelist.param1]&pc=6',headers={'referer':'https://www.kanald.com.tr/[encodedURL.param1]'}).text.replace('\u0026','&')
inf=re.findall('"ServiceUrl":"(.*?)"."SecurePath":"([^"]+)',source)[0];m3u8=inf[0]+inf[1]
return m3u8.replace('index','1000/prog_index') +'|Referer=https://www.kanald.com.tr/[encodedURL.param1][makelist.param1]'
]]></expres>
<page></page>
</regex>
<thumbnail>https://s.kanald.com.tr/ps/kanald/70/0x0/5bb7a9609850b92724b8ebbb.png</thumbnail>
</item>
Super Thank you,functions perfectly!Code:<item> <title>[COLOR gold]Muhteşem İkili[/COLOR]</title> <link>https://www.tvaddons.co/forums/$doregex[encodedURL]|User-Agent=iPad</link> <regex> <name>encodedURL</name> <listrepeat><=!=[=C=D=A=T=A=[ <title>[COLOR gold][encodedURL.param3][/COLOR]</title> <link>https://www.tvaddons.co/forums/$doregex[makelist]</link> <thumbnail>https://[encodedURL.param2]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$pyFunction import re,requests def GetLSProData(page_data,Cookie_Jar,m): 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).content;list=re.findall('class="kd-docs-thumbnails">(?s)(.*?)<li class="next',source)[0].replace('Ö','O').replace('ö','ö').replace('Ç','Ç').replace('ü','ü') data +=re.findall('.+?href="/(.+?)".*\n.*data.+?//(.*?)".alt=".*?\s.*?\s([^"]+)"[\w\W]*?id="([^"]+)',list);pn +=1 return data ]=]=></expres> <page>https://www.kanald.com.tr/muhtesem-ikili/bolumler</page> </regex> <regex> <name>makelist</name> <listrepeat><=!=[=C=D=A=T=A=[ <title>[COLOR gold][encodedURL.param3][/COLOR] ([makelist.param2]. Part)</title> <link>https://www.tvaddons.co/forums/$doregex[getUrl]</link> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$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/[encodedURL.param1]</page> </regex> <regex> <name>getUrl</name> <expres><=!=[=C=D=A=T=A=[#$pyFunction import re,requests def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013 source=requests.get('https://www.kanald.com.tr/actions/content/media/[encodedURL.param4][makelist.param1]&pc=6',headers={'referer':'https://www.kanald.com.tr/[encodedURL.param1]'}).text.replace('\u0026','&') inf=re.findall('"ServiceUrl":"(.*?)"."SecurePath":"([^"]+)',source)[0];m3u8=inf[0]+inf[1] return m3u8.replace('index','1000/prog_index') +'|Referer=https://www.kanald.com.tr/[encodedURL.param1][makelist.param1]' ]=]=></expres> <page></page> </regex> <thumbnail>https://s.kanald.com.tr/ps/kanald/70/0x0/5bb7a9609850b92724b8ebbb.png</thumbnail> </item>
Can someone help me? It does not work
Code:<item> <title>Muhteşem İkili Bölümler</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] Bölüm[/COLOR]</title> <link>https://www.tvaddons.co/forums/$doregex[makelist2]</link> <thumbnail>https://[makelist.param2]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[ <title>[COLOR gold][makelist.param3] Bölüm[/COLOR] (Eps. [makelist2.param2])</title> <link>https://www.tvaddons.co/forums/$doregex[getUrl]</link> <thumbnail>https://[makelist.param2]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$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><=!=[=C=D=A=T=A=[#$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>
data +=re.findall('(?s)"bg-wrapper".+?href="/(.*?)".+?data.+?//(.*?)".alt="(.*?)\sB.+?id="([^"]+)',re.findall('class="kd-docs-thumbnails">(?s)(.*?)<li class="next',source)[0]);pn +=1
is it possible to have a regex for this site?
Persian channelsCode:https://www.glwiz.com/Pages/Player/Player.aspx
![]()
Thanks in advance
They only post low resolution video, nothing I can do. Try this:Few days ago i have asked the same page but with all categories not only persian, and maybe with a better video resolution. Needs some more time be patient experts here are workin on it.
https://pastebin.com/raw/XmndwALP
Thank you very much master. Appreciate your hard work but one thing that the main directory and channels take long time to load than the previous version that you made, and some of channels like GEM group or Nat Geo Farsi and etc.. doesn't work on code but they work on website.They only post low resolution video, nothing I can do. Try this:
Code:https://pastebin.com/raw/XmndwALP
![]()
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
P | Request someone can helpme please, a like have this regex to livestreampor pleas | Addon Requests | 0 | |
A | Need help with regex | Kodi Support | 2 | |
A | [help]Regex in Python | Kodi Support | 2 |