fix: Try to convert bestaudio if possible
This commit is contained in:
parent
296a5f96b4
commit
30d52943e1
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class DownloadController extends BaseController
|
||||||
return $frontController->password($request, $response);
|
return $frontController->password($request, $response);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// If MP3 is not available, we convert it.
|
// If MP3 is not available, we convert it.
|
||||||
$this->video = $this->video->withFormat($this->defaultFormat);
|
$this->video = $this->video->withFormat('bestaudio');
|
||||||
|
|
||||||
return $this->getConvertedAudioResponse($request, $response);
|
return $this->getConvertedAudioResponse($request, $response);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue