Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 601 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 601 Bytes

Scrapper

Recursive video files downloader from server

Installation

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);
    }
});