1. Go to this page and download the library: Download loostie/yummy-dl library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
oostie\YummyDL\RedTube; // For RedTube
use Loostie\YummyDL\SpankBang; // For SpankBang
use Loostie\YummyDL\Xnxx; // For Xnxx
use Loostie\YummyDL\Xvideos; // For Xvideos
// In this example we use Xvideos, but the procedure is the same for all of them
$video = new Xvideos();
$video->setUrl("https://xvideos.com/your_preferred_video");
$video_data = $video->getVideoData();
// This is just an example where we var_dump the response
// Then check if video data was found
var_dump($video_data);
if ($video_data->found) {
echo $video_data->title // The title of the video
echo $video_data->thumbnail // Link to the video thumbnail (you could use this in <img src>)
echo $video_data->vidLink // Direct link to the video (not on the site), where it can be downloaded
foreach ($video_data->tags as $tag) {
echo $tag // All tags for the video
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.