Arkadaşlar yadi.sk ten m3u8 çekmeye çalışıyorum ama boş safya veriyor bunu nasıl çözebilirim. Yada başka kolay yöntem var mı?
Örnek link :
https://disk.yandex.com.tr/i/0iV9m6tQX1ZuzQ
<?php
$al = $_GET['al'];
$html = file_get_contents("$al");
preg_match_all(
'/(http.*m3u8)/',
$html,
$posts, // will contain the article data
PREG_SET_ORDER // formats data into an array of posts
);
foreach ($posts as $post) {
$link = $post[0];
header("Location: $link");
}
?>