We have received many requests from our readers to post some tutorial on YouTube video downloading. Today I will show you that how to download YouTube video using PHP with a PHP class available here. A very simple and easy to integrate tutorial.
Lets start
Library and implementation given in source code download.
<?php include("YTDownloader.php"); $ytlink = $_GET['yt']; $yt = new YTDownloader(); $links = $yt->getDownloadLinks("rKXFgWP-2xQ"); print_r($links); ?>
This code will return you all the downloadable links of video for HD Video 3GP video and many more.
In demo you can get a complete UI based demo.
1 Comments
soof
February 16, 2021 at 12:24 amHow to Download YouTube Video with PHP
the download is not working.