diff --git a/src/Overrides/YoutubeDl/YoutubeDl.php b/src/Overrides/YoutubeDl/YoutubeDl.php index 0d1663f..1b27dc6 100644 --- a/src/Overrides/YoutubeDl/YoutubeDl.php +++ b/src/Overrides/YoutubeDl/YoutubeDl.php @@ -68,7 +68,7 @@ public function debug(callable $debug): self public function getQuietUrl(string $url): ?string { - $process = $this->processBuilder->build($this->binPath, $this->pythonPath, ['--youtube-skip-dash-manifest', '-f', 'best', '-g', $url]); + $process = $this->processBuilder->build($this->binPath, $this->pythonPath, ['--youtube-skip-dash-manifest', '-f', 'b', '-g', $url]); $output = $this->getProcessOutput($process); return Arr::first(array_values(array_filter(explode("\n", $output)))); } @@ -92,7 +92,7 @@ public function getData(string $videoUrl): ?array } catch (\Throwable $e) {} $process = $this->processBuilder->build($this->binPath, $this->pythonPath, array_merge($params, [ '-f', - 'best', + 'b', '--get-url', '--get-title', '--get-id',