PDA

View Full Version : How to record from this stream?


Chemist925
10-17-2017, 07:13 AM
I need help to record the sports stream from this site. Any help?.

http://myfeed2all.eu/watch/585181/3/watch-france-vs-spain,-u17.html

I've checked in the network but it seems the token keeps changing. Any help please?. :confused:

troller12
10-17-2017, 10:58 AM
Hi,

its calling a token site...
nowlive.pro/getToken.php
...where you get the token value.Depends on the request paramters you do use.User-Agent and more = used to calc the token...
GET /getToken.php HTTP/1.1
Host: nowlive.pro
Connection: keep-alive
Referer: http://nowlive.pro

User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0
X-Requested-With: XMLHttpRequest
{"token":"Je3FvJSueodCLYUh5SWLcw"}
or
GET /getToken.php HTTP/1.1
Host: nowlive.pro
Connection: keep-alive

User-Agent: Mozilla/5.0
Referer: http://nowlive.pro/
X-Requested-With: XMLHttpRequest
{"token":"V29aRSOcggC-BpPXZp65PQ"}
So you can request new token from outside of course (script / tool etc).Just use same User-Agent for your stream tool.Just test a little.

For the playlist you need to use also User-Agent & Referer paramter to play the stream with streamlink etc like this...
streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0" --http-header "Referer=http://nowlive.pro/" "hls://http://ifnec2.onlyforupload.me/swfc/2858.m3u8?sf=NTc0NDliNTUzNDFlZg==&token=Je3FvJSueodCLYUh5SWLcw" best

or

streamlink --http-header "User-Agent=Mozilla/5.0" --http-header "Referer=http://nowlive.pro/" "hls://http://ifnec2.onlyforupload.me/swfc/2858.m3u8?sf=NTc0NDliNTUzNDFlZg==&token=V29aRSOcggC-BpPXZp65PQ" best
PS: Go to this site...you can find on your site.
http://iptvfull.net/4u4u/stream13.html
greetz