Refactor listExtractors()
This commit is contained in:
parent
bd26756246
commit
d74ec5d1c4
1 changed files with 1 additions and 9 deletions
|
@ -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')));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue