I'm trying to get file content to extract m3u8 link of this page: http://tv24.vn/livetv/vtv1.html
It requires to login; (they use jlogin method)
I give here my login info for you to test
user: h2132704@trbvm.com
pass: 12345678
<?php
$return = file_get_contents("http://h2132704@trbvm.com:12345678@tv24.vn/livetv/vtv1.html");
preg_match('/file: \"(.*?)\"/', $return, $m3u8);
$hls=str_replace("http","hlsvariant://http",$m3u8[1]);
echo "Starting livestreamer...\n\n";
echo passthru("C:\livestreamer\livestreamer \"$hls\" 496p -o C:\livestreamer\Test.ts");
echo "Done.\n";
?>
Any solution ?
Sorry for my bad English