Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@phpfiddle
Created October 19, 2017 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpfiddle/1d9859417b23ffd1050d6c98fd91d611 to your computer and use it in GitHub Desktop.
Save phpfiddle/1d9859417b23ffd1050d6c98fd91d611 to your computer and use it in GitHub Desktop.
[ Posted by RianWap ] Youtube Downloader Mp4 Easy way
<?php
//By RianWap ID
//Created Date 19/10/2017
//www.facebook.com/rianwap.id
if($_GET['v']){
$v=$_GET['v'];
}else{
$v='kr-zGZUZPuQ';
}
$embed=file_get_contents('http://www.convertinmp4.com/youtube.php?video=youtube.com%2Fwatch%3Fv%3D'.$v.'');
$url = explode('<a target="_blank" href="redirect.php?video=',$embed);
$url = explode('"',$url[1]);
$url='http://www.convertinmp4.com/redirect.php?video='.$url[0].'';
print_r($url);
if($url){
$rianwap=''.$url.''; //*ini untuk memunculkan link downloadnnya*//
}else{
$rianwap='www.google.com'; //*ini muncul saat link download tiada*//
}
//JANGAN DI JUAL BELIKAN//
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment