View Single Post
  #4  
Old 12-10-2015, 10:50 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Token needed for rtmpdump please


Hi,

you have to refresh the json token & rtmp address too.You can use Livestreamer to get the datas or you do it manually and send a post request.You can use your browser webtools to follow what it does request.Below just a short build...
Code:
POST /api/setPlayer HTTP/1.1
Host: weeb.tv
User-Agent: dontaskme
Connection: close
Referer: http://static2.weeb.tv/player.swf
Content-type: application/x-www-form-urlencoded
Content-length: 50

ip=NaN&cid=tvp1hd179&watchTime=0&firstConnect=1
Now as response you get this...
Code:
50=1&51=12&52=111111&0=1&5=0&73=16904733&10=rtmp%3A%2F%2F95.211.215.134%2Fchannel%2F1148&11=live&12=1&6=TVP1+HD&7=tvp1hd179&20=0&8=http%3A%2F%2Fstatic.weeb.tv%2Flogos%2F9fe2e1a2c9659a9c3b4f35354b0e35e0.jpg&13=0

URLDecode
-------------------
50=1&51=12&52=111111&0=1&5=0&73=16904733&10=rtmp://95.211.215.134/channel/1148&11=live&12=1&6=TVP1+HD&7=tvp1hd179&20=0&8=http://static.weeb.tv/logos/9fe2e1a2c9659a9c3b4f35354b0e35e0.jpg&13=0

-J 16904733
-r rtmp://95.211.215.134/channel/1148//live

rtmpdump -v -r "rtmp://95.211.215.134/channel/1148//live" -W "http://static2.weeb.tv/player.swf" -J 16904733 | "player" -
...now use the rtmp ip address & json token and the stream does play.If stream dosen't play anymore then refresh the steps again.

PS: The new site you did post is the only different so it does also stream from same source.

greetz
Reply With Quote