mp3 search fine working
Collapse
X
-
this is the way how you can get the download url for mp3:
PHP Code:$file = file_get_contents("http://www.4shared.com/audio/PmMMpPFs/Tu_Meri_Jindagi_Hai.htm");
$body = preg_replace("/.*file[^=]*=|\&volume.*/si", "", $file);
preg_match("/((ftp)|(http(s?))\:\/\/(([A-z0-9\?\-\:\=\;\.\@\/]+)))/is",$body, $result);
$download_url = $result[1];
-
Originally posted by GumSlone View Postthis is the way how you can get the download url for mp3:
PHP Code:$file = file_get_contents("http://www.4shared.com/audio/PmMMpPFs/Tu_Meri_Jindagi_Hai.htm");
$body = preg_replace("/.*file[^=]*=|\&volume.*/si", "", $file);
preg_match("/((ftp)|(http(s?))\:\/\/(([A-z0-9\?\-\:\=\;\.\@\/]+)))/is",$body, $result);
$download_url = $result[1];
Comment
Comment