Help for Regex

Status
Not open for further replies.

streamwatcher2013

Well-known member
Oct 24, 2013
985
443
63
USA
hallo kann mir jemanden helfen mit dem code hier als makelist danke im voraus
hxxp://www.matbet2.tv/tr/izle/sky-sport-1
Here all the info you need to make it works

Code:
http://www.matbet2.tv/tr/izle/sky-sport-1

<div id="player">
<iframe src="http://www.matbet2.tv/tr/channel/watch/sky-sport-1" width="100%" height="400" frameborder="0" allowfullscreen></iframe>
</div>

http://www.matbet2.tv/tr/channel/watch/sky-sport-1

<script>eval(atob("d2luZG93LmNvbmZpZz17IGFkdjp7ZW5hYmxlZDowLGxpbms6Imh0dHA6Ly93d3cubWF0LmJldCIscGFyZW50SWQ6ImRpdiNhcHAiLHBvc3RlcjoiIixza2lwT2Zmc2V0OiIxIixzb3VyY2U6IiJ9LG1hdGNoOntwYXJlbnRJZDoiZGl2I2FwcCIscG9zaXRpb246InRvcC1yaWdodCIscG9zdGVyOiIvYXNzZXRzL3VwbG9hZHMvc2V0dGluZ3MvcGxheWVyX2JnXzQ0MC5wbmciLHNvdXJjZToiaHR0cHM6Ly9zMDMudHZjZG4uY28vbGl2ZS9za3ktc3BvcnQtMS5tM3U4P3M9SzBKLTJiRkNnbnkyVDEwU0prR3pjUSZlPTE1MjIzNTQ4NzQiLHdhdGVybWFyazoiL2Fzc2V0cy91cGxvYWRzL3NldHRpbmdzL3dhdGVybWFya184MDIucG5nIix3YXRlcm1hcmtMaW5rOiJodHRwOi8vd3d3Lm1hdGJldDIudHYvIn19"))</script>

Base64 Decode
d2luZG93LmNvbmZpZz17IGFkdjp7ZW5hYmxlZDowLGxpbms6Imh0dHA6Ly93d3cubWF0LmJldCIscGFyZW50SWQ6ImRpdiNhcHAiLHBvc3RlcjoiIixza2lwT2Zmc2V0OiIxIixzb3VyY2U6IiJ9LG1hdGNoOntwYXJlbnRJZDoiZGl2I2FwcCIscG9zaXRpb246InRvcC1yaWdodCIscG9zdGVyOiIvYXNzZXRzL3VwbG9hZHMvc2V0dGluZ3MvcGxheWVyX2JnXzQ0MC5wbmciLHNvdXJjZToiaHR0cHM6Ly9zMDMudHZjZG4uY28vbGl2ZS9za3ktc3BvcnQtMS5tM3U4P3M9SzBKLTJiRkNnbnkyVDEwU0prR3pjUSZlPTE1MjIzNTQ4NzQiLHdhdGVybWFyazoiL2Fzc2V0cy91cGxvYWRzL3NldHRpbmdzL3dhdGVybWFya184MDIucG5nIix3YXRlcm1hcmtMaW5rOiJodHRwOi8vd3d3Lm1hdGJldDIudHYvIn19

window.config={ adv:{enabled:0,link:"http://www.mat.bet",parentId:"div#app",poster:"",skipOffset:"1",source:""},match:{parentId:"div#app",position:"top-right",poster:"/assets/uploads/settings/player_bg_440.png",[B]source:"https://s03.tvcdn.co/live/sky-sport-1.m3u8?s=K0J-2bFCgny2T10SJkGzcQ&e=1522354874"[/B],watermark:"/assets/uploads/settings/watermark_802.png",watermarkLink:"http://www.matbet2.tv/"}}

Your link after base64 decode "[B][COLOR="#FF0000"]https://s03.tvcdn.co/live/sky-sport-1.m3u8?s=K0J-2bFCgny2T10SJkGzcQ&e=1522354874[/COLOR][/B]"
 

Beezlo

Member
Mar 17, 2016
33
0
6
Hi all ,

can anybody help me , i try everything to create a makelist but no luck :(

Code:
https://www.kanald.com.tr/mehmed-bir-cihan-fatihi/bolumler
Thanks in Advance
 
Last edited:

omoobatv

New member
Feb 15, 2018
22
0
1
Please I need help with this link.


Code:
http://nowlive.pro/stream/1/23974.html


Thanks in advance
 
Last edited:

sunnyhero

New member
Dec 27, 2013
11
0
1
Is it possible to get playlist with regex of this site and watch these channels live. Thanks in advance.

hxxp://www.ptv.com.pk/public/userView/livestreaming
 
Last edited by a moderator:

streamwatcher2013

Well-known member
Oct 24, 2013
985
443
63
USA
Please I need help with this link.


Code:
http://nowlive.pro/stream/1/23974.html


Thanks in advance
Eventually everything were in the source code:

Code:
curl = "http://179.43.184.30/swfc/23974.m3u8?sf=NWFhYmY0YjM0MGViNw==&token="
For token use this link:

Code:
http://nowlive.pro/getToken.php
 

omoobatv

New member
Feb 15, 2018
22
0
1
Eventually everything were in the source code:

Code:
curl = "http://179.43.184.30/swfc/23974.m3u8?sf=NWFhYmY0YjM0MGViNw==&token="
For token use this link:

Code:
http://nowlive.pro/getToken.php


I have tried it before but didnt work. the ip part changes which is beyond me. trying to learn though. i have tried this:



Code:
<item>
<title>Toxic</title>
<link>http://194.67.208.149/swfc/23974.m3u8?sf=NWFhYmY0YjM0MGViNw==&token=$doregex[tok]</link>
<regex>
<name>tok</name>
<expres>"token":"(.*?)"</expres>
<page>http://nowlive.pro/getToken.php</page>
<referer>http://nowlive.pro/stream/1/23974.html</referer>
<cookiejar></cookiejar>
<agent>iphone</agent>
</regex>
</item>
please how can regex the changing ip part

Thanks
 
Last edited:

streamwatcher2013

Well-known member
Oct 24, 2013
985
443
63
USA
I have tried it before but didnt work. the ip part changes which is beyond me. trying to learn though. i have tried this:



Code:
<item>
<title>Toxic</title>
<link>http://194.67.208.149/swfc/23974.m3u8?sf=NWFhYmY0YjM0MGViNw==&token=$doregex[tok]</link>
<regex>
<name>tok</name>
<expres>"token":"(.*?)"</expres>
<page>http://nowlive.pro/getToken.php</page>
<referer>http://nowlive.pro/stream/1/23974.html</referer>
<cookiejar></cookiejar>
<agent>iphone</agent>
</regex>
</item>
please how can regex the changing ip part

Thanks
Try this. Make sure input the referer link (original link).

Code:
<item>
<title>http://nowlive.pro/stream/1/23974.html</title>
<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
  info=re.search(r'curl.*?[\'"](.*?)[\'"][\w\W\s]*?getJSON\("/(.*?)"',requests.get('http://nowlive.pro/stream/1/23974.html').content)
  return info.group(1)+re.findall(r'token":[\'"](.*?)[\'"]',requests.get('http://nowlive.pro/'+info.group(2)).content)[0]+'|User-Agent=iPad&Referer=[B][COLOR="#FF0000"]PUT YOUR ORIGINAL LINK HERE[/COLOR][/B]'
]]></expres>
<page></page>
</regex>
</item>
 

gujal

Developer
Dec 26, 2013
590
326
63
Is it possible to get playlist with regex of this site and watch these channels live.
Code:
http://www.ptv.com.pk/public/userView/livestreaming
Thanks in advance.
Only the first two channels of the four are working on the website. So only those will work on the makelist below
Enjoy!
Code:
<item>
<title>PTV Live</title>
<link>$doregex[makelist]</link>
<thumbnail>http://www.ptv.com.pk/public/user/assets/images/ptv-logo.jpg</thumbnail>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[makelist.param3]</title>
  <link>$doregex[url]</link>
  <thumbnail>[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[(?s)avatar_block">.+?href="([^"]+).+?src="([^"]+).+?<h2>([^<]+)]]></expres>
<page>http://www.ptv.com.pk/public/userView/livestreaming</page>
</regex>
<regex>
<name>url</name>
<expres>file":\s*"([^"]+)</expres>
<page>http:$doregex[m3u8page]</page>
<referer>http://www.ptv.com.pk/</referer>
</regex>
<regex>
<name>m3u8page</name>
<expres>src="(.*?/players/.*?)"</expres>
<page>[makelist.param1]</page>
<referer>http://www.ptv.com.pk/</referer>
</regex>
</item>
 

omoobatv

New member
Feb 15, 2018
22
0
1
Try this. Make sure input the referer link (original link).

Code:
<item>
<title>http://nowlive.pro/stream/1/23974.html</title>
<link>https://www.tvaddons.co/forums/$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><=!=[=C=D=A=T=A=[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):
  info=re.search(r'curl.*?[\'"](.*?)[\'"][\w\W\s]*?getJSON\("/(.*?)"',requests.get('http://nowlive.pro/stream/1/23974.html').content)
  return info.group(1)+re.findall(r'token":[\'"](.*?)[\'"]',requests.get('http://nowlive.pro/'+info.group(2)).content)[0]+'|User-Agent=iPad&Referer=[B][COLOR="#FF0000"]PUT YOUR ORIGINAL LINK HERE[/COLOR][/B]'
]=]=></expres>
<page></page>
</regex>
</item>
Unfortunately, its not working.

the source is

Code:
http://toxicpatat.com/index.php/live-stream-big-brother-naija-2018-live-stream-bbn-2018/

Thanks
 

streamwatcher2013

Well-known member
Oct 24, 2013
985
443
63
USA
Unfortunately, its not working.

the source is

Code:
http://toxicpatat.com/index.php/live-stream-big-brother-naija-2018-live-stream-bbn-2018/

Thanks
Glad to see you post the original link. The working link will changed by value "c". Will fix it later too late over here

I gave up on this one. Always got the 403 error whichever i tried. :(
 
Last edited:

Chaos-t

New member
Jul 9, 2016
10
0
1
Hi,

could someone help me to regex this channel:

hxxps://www.tata.to/channel/13thstreet

Thanks in advance
 

streamwatcher2013

Well-known member
Oct 24, 2013
985
443
63
USA
Hi,

could someone help me to regex this channel:

hxxps://www.tata.to/channel/13thstreet

Thanks in advance
Try this

Code:
<item>
<title>13th STREET</title>
<link>$doregex[getUrl]</link>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  info=re.search('"tv-play".data-src="(h.*)embed.*?(token.*?)(?:\n|")',page_data);return info.group(1)+'index.m3u8?'+info.group(2)+'|User-Agent=iPad'
]]></expres>
<page>http://www.tata.to/channel/13thstreet</page>
<agent>iPad</agent>
</regex>
</item>
 

johncross

New member
Apr 27, 2015
10
0
0
Code:
[URL="hXXp://subiectiv.com/oe/plugin.video.odkodi.zip"]hXXp://subiectiv.com/oe/plugin.video.odkodi.zip[/URL]
can someone help with this addon, It scrapes folders easily on open directories but the only thing (which is the main thing) it is not scraping files like mkv's avi mp4 etc and displaying the list in the folder.


and example site is 195.78.244.221:99/video/mp4/cartoon4/

this can be added with http and all inside the desired folder, such as tv, or movies etc.

would appreciate if any experts at regex can help with getting this addon to scrape the video files

thanks
 

efradncr

Member
Mar 26, 2018
63
2
8
Hola amigos, necesito que me ayuden con un regex para estos canales

****hxxp://vercanalestv.com/tv/argentina/hbo-latino.html***

****hxxp://www.rapifutbol.tv/Insert.jsf?id=767***

agradezco su ayuda de antemano.
 
Status
Not open for further replies.