TOOLSP
"
WELCOME !

Please ! Use [CODE] tags for your LINKS and CODE.
Favor usar balisas [CODE] para sus vínculos y código.
Merci d'utiliser les balises [CODE] pour vos liens et code.

[code]http://Thank.you[/code]
"
*** GITHUB ***
.
.
URL Resolver [GIT]
.
.
.
.
Jx Update [REDIRECT]
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
Latest topics
» SportsDevil back on Mega
Yesterday at 14:38 by skyhigh

» SportsDevil back on Mega
Fri 17 Nov - 5:30 by jairoxyz

» youtube playlists
Tue 14 Nov - 2:43 by jujuuj

» afromotion
Thu 9 Nov - 13:59 by doctor4979

» ? works on VLC, but not on kodi ?
Mon 6 Nov - 13:06 by jujuuj

» how make a request.post to get a repond
Tue 31 Oct - 16:01 by jujuuj

» how to play this in kodi
Tue 31 Oct - 15:21 by jujuuj

FRIENDS / PARTNERS

forum

créer un forum


help regex

View previous topic View next topic Go down

help regex

Post by sakarya on Sat 17 Jun - 18:54

hello friends can someone check this regex it do not work. thank you Very Happy

Code:
<item>
<title>CARTOON NETWORK</title>
<link>$doregex[url]|User-Agent=Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/LYZ28E) AppleWebKit/537.36</link>
<regex>
<name>url</name>
<expres>file: '(.*?)'</expres>
<page>http://www.canlitv.stream/yayin/yayinim.php?yayin=cartoon</page>
<referer>http://www.canlitv.stream/cartoon</referer>
</regex>
<thumbnail><thumbnail>
<fanart></fanart>
</item>

sakarya

Messages : 6
Date d'inscription : 2017-06-17

View user profile

Back to top Go down

Re: help regex

Post by retrorat1 on Sun 18 Jun - 10:22

The site might have changed since it was last regexed , Looks like there is a token in the url now.
Please dont take my word for it as I am still trying to figure it out myself. But I would be happy if one of the lovely people in here would point us in the right direction in learning to make a regex with this as an example . Please This is what is there in Firefox
Code:

http://5.79.73.77/live/cartoon-576276.ts?tkn=9zPqLTmsEL_LC3vRU9QYug&tms=1497776520


Host: 5.79.73.77
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://www.canlitv.stream/yayin/yayinim.php?yayin=cartoon
Origin: http://www.canlitv.stream
Connection: keep-alive

tkn = token
tms = is this the refresh time?
so how do we proceed from here?
Thanks

retrorat1

Messages : 16
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: help regex

Post by vbprofi on Sun 18 Jun - 23:06

Hi,
you have to grab the fullURL from Webpage
Code:

http://www.canlitv.stream/cartoon-network

than you grab the iframe and regex the URL
Code:

                                        <iframe width="100%" height="100%" src="http://www.canlitv.stream/yayin/yayinim.php?yayin=cartoon" frameborder="0" scrolling="no" allowfullscreen></iframe>
if you grab this URL
Code:

http://www.canlitv.stream/yayin/yayinim.php?yayin=cartoon
so you can grab the the streamurl
Code:

file: ''+wsXLI+'',
the variable wsXLI is an encoded part, you have decode that before  and replace the variable.

Your above Code with the part
Code:

<expres>file: '(.*?)'</expres>
is the part for
Code:

file: ''+wsXLI+'',
So you have find out where the encode part for the variable wsXLI is and replace the variable in this part.


Last edited by vbprofi on Sun 18 Jun - 23:35; edited 1 time in total (Reason for editing : fagot last part)

vbprofi

Messages : 17
Date d'inscription : 2017-05-03

View user profile

Back to top Go down

Re: help regex

Post by beezlo on Tue 20 Jun - 8:55

Can you tell me how to you this decode file: ''+wsXLI+'',

beezlo

Messages : 10
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: help regex

Post by makal on Wed 21 Jun - 1:32

Hi
try this
Code:
<item>
<title>canlitv.stream</title>
<link>$doregex[makelist]</link>
<regex>
  <name>makelist</name>
  <listrepeat><![CDATA[
          <title>[COLOR white][/COLOR][COLOR yellow][makelist.param2][/COLOR]</title>
          <link>$doregex[url]|User-Agent=Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36</link>
          <thumbnail>[makelist.param3]</thumbnail>
  ]]></listrepeat>
  <expres><![CDATA[a href="(.*?)" title=.*?\s.*\s.*?class="title">(.*?)<]]></expres>
  <page>http://kesintisiz.tv/</page>
  <cookieJar></cookieJar>
</regex>

<regex>
<name>url</name>
<expres>file: '(.*?)'</expres>
<page>http://www.canlitv.stream/yayin/yayinim.php?yayin=$doregex[ch]</page>
<referer>http://kesintisiz.tv/</referer>
</regex>

<regex>
<name>ch</name>
<expres>src=".*?yayin=(.*?)"</expres>
<page>http://www.canlitv.stream/[makelist.param1]</page>
<referer>http://www.canlitv.stream/[makelist.param1]</referer>
</regex>
</item>
avatar
makal

Messages : 15
Date d'inscription : 2017-06-14
Localisation : USA

View user profile

Back to top Go down

Re: help regex

Post by sakarya on Thu 22 Jun - 22:43

thanks for helping makal its working fine. Very Happy

sakarya

Messages : 6
Date d'inscription : 2017-06-17

View user profile

Back to top Go down

Re: help regex

Post by solved on Mon 30 Oct - 12:33

solved

solved

Messages : 35
Date d'inscription : 2017-06-27

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum