Hello,

I want to read the url (m3u) from this link, unfortunately I get the following error message. what's wrong. I'm relatively new to php sorry

url = https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/

want read this block https://hdtvler2.etvserver.com/live_sd/showtv/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9My8zMS8yMDIwIDQ6MTk6MDUgUE0maGFzaF92YWx1ZT1mejM4UjdDNWQxYjlXODhieU5FL2hnPT0mdmFsaWRtaW51dGVzPTU="

my code

<?php 
     $homepage = file_get_contents("https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/"); 
     preg_match('#"contentURL": "(.*?)"#', $homepage ,$m3ual);  
     stripslashes($m3ual[1]);  
     header("Location: ".$m3ual[1] );

?>

Not found

i want the m3u from this link https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/

Using another DNS I was able to resolve that and look at the web page. It does not offer a download link so tell me without any fudging that you are asking for help in downloading their content.

If you want that content ask them for it. Asking here to help download copyrighted content is not allowed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.