Ok so i've got an advanced grabber script and i try to extract direct download link the main problem / question is if it's possible to include an function in a preg replace per modifier like in the example given bellow
//$grabncopy=site main source
$grabncopy=preg_replace('/href="(.*).html"/mi', 'href=".get_audio('\\1')."', $grabncopy);
echo $grabncopy;
the modifier should display http://direct_link_name of course without .html extension that will be aded in get_audio function.. i know this ain't gonna work 😒 because i already try it the function will get \1 instead static url.html that the modifier should produce .. the modifier inside the function would not execute ...
More precisely i want to display direct download link with a function that will extract direct download link from the static url/html page and not doing an grabber with two pages one that list and one that would display the download link ... know how to fix it ? 🤨 please reply ... tnx
This is ten percent luck, twenty percent skill Fifteen percent concentrated power of will Five percent pleasure, fifty percent pain 😂And a hundred percent reason to remember the name!