PDA

View Full Version : Secure token


arnfsilva
10-05-2015, 08:13 AM
Hello,
Can you please tell me the secure token of this links?

http://www.meocanaltv.com/canais.php?stream=CMTV

http://www.meocanaltv.com/canais.php?stream=SICNOTICIAS

http://www.meocanaltv.com/canais.php?stream=SIC

http://mytvfree.me/rtp-1-online-em-direto

Thank you.

biezom
10-05-2015, 09:12 AM
Hello,
Can you please tell me the secure token of this links?

http://www.meocanaltv.com/canais.php?stream=CMTV

http://www.meocanaltv.com/canais.php?stream=SICNOTICIAS

http://www.meocanaltv.com/canais.php?stream=SIC

http://mytvfree.me/rtp-1-online-em-direto

Thank you.


no token but dynamics app

peterpan
10-05-2015, 09:17 AM
@biezom tu degenes the plus vite ;)

None require a token. Just use rtmpdumpHelper... ;)

Example:

rtmpdump
-r "rtmp://178.162.194.26/loadbalance" -a "loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDM6MTI6NTUgUE0maGFzaF92YWx1ZT1lTEdiZUVmbC9RWXpn UXNac2dGN3BBPT0mdmFsaWRtaW51dGVzPTU=" -f "WIN 19,0,0,185" -W "http://pxstream.tv/player510.swf" -p "http://pxstream.tv/embedrouter.php?file=sicnoty84u&width=600&height=450&jwplayer=flash" -y "93177826212956138691" -o "2015-10-05_08-12-58_93177826212956138691.flv"

arnfsilva
10-05-2015, 02:19 PM
Hello,
Thanks for your answer. I have used rtmpdumphelper, but i have a problem. I put the code for example:

rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDc6MDY6NDggUE0maGFzaF92YWx1ZT1GQ3FvWUtvRC9aT3VY OGhLcCtUb05BPT0mdmFsaWRtaW51dGVzPTU= playpath=93177826212956138691 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=sicnoty84u&width=600&height=450&jwplayer=flash

But after i turn off the net, and turn on again, the stream doesnīt work anymore. Iīm noob on this. Can you help me resolve the problem? It must be something missing in the code.
Thank you.

biezom
10-05-2015, 02:57 PM
Hello,
Thanks for your answer. I have used rtmpdumphelper, but i have a problem. I put the code for example:

rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDc6MDY6NDggUE0maGFzaF92YWx1ZT1GQ3FvWUtvRC9aT3VY OGhLcCtUb05BPT0mdmFsaWRtaW51dGVzPTU= playpath=93177826212956138691 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=sicnoty84u&width=600&height=450&jwplayer=flash

But after i turn off the net, and turn on again, the stream doesnīt work anymore. Iīm noob on this. Can you help me resolve the problem? It must be something missing in the code.
Thank you.



rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDc6MDY6NDggUE0maGFzaF92YWx1ZT1GQ3FvWUtvRC9aT3VY OGhLcCtUb05BPT0mdmFsaWRtaW51dGVzPTU


in red dynamic value

write php or python code it's possible to update automatically this value

arnfsilva
10-05-2015, 03:30 PM
I have writen this, but isnīt still working:

rtmp://95.211.137.198/loadbalance?wmsAuthSign=php playpath=84792152861424662534 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=cmtv22ed&width=600&height=450&jwplayer=flash

Whatīs wrong? Sorry, but i need your help.
Thanks.

biezom
10-05-2015, 04:17 PM
I have writen this, but isnīt still working:

rtmp://95.211.137.198/loadbalance?wmsAuthSign=php playpath=84792152861424662534 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=cmtv22ed&width=600&height=450&jwplayer=flash

Whatīs wrong? Sorry, but i need your help.
Thanks.
write a php code like here

http://stream-recorder.com/forum/auto-extract-m3u8-and-auto-start-recording-p80219.html#post80219


when i have time i can try write it

arnfsilva
10-05-2015, 11:28 PM
If you could do so i would appreciate. I donīt understand how to do it.
Thank you.

biezom
10-06-2015, 02:36 AM
If you could do so i would appreciate. I donīt understand how to do it.
Thank you.

need unzip, php http://windows.php.net/downloads/releases/php-5.4.45-Win32-VC9-x86.zip
and rtmpdump https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip in the same folder in C:\PHP for example

<?php
$opts1 = array(
'http'=>array(
'method'=>"GET",
'header'=>"Referer: http://www.meocanaltv.com/\r\n" .
"User-Agent: Mozilla/5.0 (A (X11; Linux i686; rv:40.0) Gecko/20100101 Firefox/40.0 Iceweasel/40.0.3"
)
);
$source1= file_get_contents($argv[1], false, stream_context_create($opts1));
preg_match('/cid="(.*?)"/', $source1, $embed1);
$source2= file_get_contents("http://www.meocanaltv.com/embed/$embed1[1].php", false, stream_context_create($opts1));
preg_match('/file=\'(.*?)\'/', $source2, $embed2);
$source3= file_get_contents("http://pxstream.tv/embedrouter.php?file=$embed2[1]", false, stream_context_create($opts1));
preg_match('/file: \'(.*?)\'/', $source3, $playpath); preg_match('/streamer: \'(.*?)\'/', $source3, $rtmp);
preg_match('/flashplayer: "(.*?)"/', $source3, $flashplayer);
$date = date("H-i_d-m-Y");
echo "Starting rtmpdump...\n\n";
echo "rtmpdump -r \"$rtmp[1]\" -W \"http://pxstream.tv/$flashplayer[1]\" -p \"http://pxstream.tv/embedrouter.php?file=$embed2[1]\" -y \"$playpath[1]\" -o \"$embed1[1]_$date.flv\"\n\n";

passthru("rtmpdump -r \"$rtmp[1]\" -W \"http://pxstream.tv/$flashplayer[1]\" -p \"http://pxstream.tv/embedrouter.php?file=$embed2[1]\" -y \"$playpath[1]\" -o \"$embed1[1]_$date.flv\" &");
echo "Done.\n";
?>

edit and create one file with filename meocanaltv.php (use notepad++ instead of notepad) and paste the code


for example for this channel

http://www.meocanaltv.com/canais.php?stream=CMTV


open command prompt

cd C:\PHP

php meocanaltv.php http://www.meocanaltv.com/canais.php?stream=CMTV

http://i.imgur.com/XgWhajf.png

arnfsilva
10-06-2015, 04:12 AM
Hello,
I think i didnīt explained you well the problem. I want to play the channels in kodi. I have this list: https://ghostbin.com/paste/rp5p7

So, i need the codes to put there in each channel of the list. The codes that are there donīt work, because like you explained me they are dynamic.
Sorry for the disturb, but i donīt understand a lot of this.
Thank you again.

biezom
10-06-2015, 04:43 AM
Hello,
I think i didnīt explained you well the problem. I want to play the channels in kodi. I have this list: https://ghostbin.com/paste/rp5p7

So, i need the codes to put there in each channel of the list. The codes that are there donīt work, because like you explained me they are dynamic.
Sorry for the disturb, but i donīt understand a lot of this.
Thank you again.
LOL you should have said earlier that it was for kodi ;) :) ;) :)


you can install two addons SportsDevil and LiveStreamsPro and create a playlist in xml format

just tested it works


<item>
<title>CMTV</title>
<sportsdevil>http://www.meocanaltv.com/embed/CMTV.php</sportsdevil>
<referer>http://www.meocanaltv.com</referer>
</item>

<item>
<title>SICNOTICIAS</title>
<sportsdevil>http://www.meocanaltv.com/embed/SICNOTICIAS.php</sportsdevil>
<referer>http://www.meocanaltv.com</referer>
</item>


<item>
<title>SIC</title>
<sportsdevil>http://www.meocanaltv.com/embed/SIC.php</sportsdevil>
<referer>http://www.meocanaltv.com</referer>
</item>

<item>
<title>RTP1</title>
<sportsdevil>http://www.meocanaltv.com/embed/RTP1.php</sportsdevil>
<referer>http://www.meocanaltv.com</referer>
</item>


http://i.imgur.com/lZVTQtO.png

arnfsilva
10-06-2015, 05:34 AM
Can i use the playlist in addon PlaylistLoader. What are the changes that i need to make in the code you sent me? I donīt know how to add the list to addon SportsDevil.

arnfsilva
10-06-2015, 06:47 AM
Hello, i have done what you said. Those channels are working well.
I need other channels. Can you please tell me the codes like you have done before?

The links are:
http://mytvfree.me/ver/benfica-tv-direto
http://mytvfree.me/ver/sporting-tv-online
http://mytvfree.me/ver/cmtv-online-em-direto
http://mytvfree.me/a-bola-emissao-web
http://mytvfree.me/sport-tv-em-direto-gratis
http://mytvfree.me/e-live2.php?id=31682
http://www.meocanaltv.com/canais.php?stream=ABOLATV
http://www.sportvdirectos.net/index.php?canal=sporttv
http://www.sportvdirectos.net/index.php?canal=benficatv
http://www.sportvdirectos.net/index.php?canal=sportingtv

Thanks, and sorry again for the disturb.

peterpan
10-06-2015, 07:01 PM
Ok here's the 1st one...

<item>
<title>benfica-tv-direto --SportsDevil</title>
<sportsdevil>http://antena.mytvfree.me/btv1.php</sportsdevil>
<referer>http://mytvfree.me/ver/benfica-tv-direto</referer>
</item>

AND...here's how to get the rest of them...

1. Download/Install HttpFox for FF (enable it "Start")
https://addons.mozilla.org/en-US/firefox/addon/httpfox/

2. Play the stream (i.e. http://mytvfree.me/ver/sporting-tv-online )

3. Open HttpFox and search for "http://antena.mytvfree.me/"

4. Find and copy the link that ends with .php (usually the 1st one in the list) -- in this case, you'll find "http://antena.mytvfree.me/sporcanal.php"

5. That's the link you need to pate in <sportsdevil>...</sportsdevil>

& Voila you're done! You should now be able to get most, if not all, of them!

Don't give them fish... teach them how to fish
Give a man a fish, and you feed him for a day; show him how to catch fish, and you feed him for a lifetime!

arnfsilva
10-07-2015, 02:53 PM
Hello,
I have done like you told me, and i have a lot of channels ok, but are some that i couldnīt find the codes. Those are the following:

http://www.sportvdirectos.net/index.php?canal=sporttv
http://mytvfree.me/sport-tv-em-direto-gratis
http://www.desportogratis.com/
http://www.desportodireto.com/sportv1
http://www.sportvdirectos.net/index.php?canal=sporttv4-2

Could you please help me with the codes?
Sorry again for trouble.
Thank you very much.