Recursive video files downloader from server
Through Composer, obviously:
composer require 2stech/scrapper
You can also use Scrapper without using Composer by registering an autoloader function:
spl_autoload_register(function($class) {
$prefix = 'Scrapper\\';
if (stripos($class, $prefix) === false) {
return;
}
$class = substr($class, strlen($prefix));
$location = __DIR__ . '/path/to/src/Scrapper/' . str_replace('\\', '/', $class) . '.php';
if (is_file($location)) {
require_once($location);
}
});