diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index e727414..995f44b 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -57,15 +57,7 @@ class VideoDownload * */ public function listExtractors() { - $this->procBuilder->setArguments( - [ - '--list-extractors', - ] - ); - $process = $this->procBuilder->getProcess(); - $process->run(); - - return explode(PHP_EOL, trim($process->getOutput())); + return explode(PHP_EOL, trim($this->getProp($url, null, 'list-extractors'))); } /**