classes/Video.php
private static function getProcess(array $arguments)
    {
        $config = Config::getInstance();

        return new Process(
            array_merge(
                [$config->python, $config->youtubedl],
                $config->params,
                $arguments
            )
        );
    }
private static function getProcess(array $arguments)
    {
        $config = Config::getInstance();

        return new Process(
            array_merge(
                [$config->python, $config->youtubedl],
                $config->params,
                $arguments
            )
        );
    }
private static function getProcess ( array $ arguments ) { $ config = Config :: getInstance ( ) ; return new Process ( array_merge ( [ $ config -> python , $ config -> youtubedl ] , $ config -> params , $ arguments ) ) ; }
Return a youtube-dl process with the specified arguments.

@param string[] $arguments Arguments

@return Process
Return a youtube - dl process with the specified arguments .