Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to get full div element to get m3u8 source

(http://stream-recorder.com/forum/showthread.php?t=20443)

sonnvl 11-13-2015 12:48 AM

How to get full div element to get m3u8 source


 
Hi, I want to use PHP to get m3u8 of this stream:
Code:

http://xemtv.tv/live/sctv6
I try to use file_get_contents but it can't get div id player element, contain this link like this:

Code:

http://xemtv.tv/iframe/player?stream=aHR0cDovL3hlbXR2LnR2L3JlYWRlci90djI0L3NjdHY2L3R0eTR5YlRROXZidWRpcjFYODd3OXV6aXhGWGxqMDM2L3BsYXlsaXN0Lm0zdTg=&type=hls&player=tv24
Use base64 to decode red string >> get m3u8 link, and finally use livestreamer


All times are GMT -6. The time now is 03:51 PM.