More info about formats
Only HTTP formats
This commit is contained in:
parent
c6c2214567
commit
7d548c06b6
4 changed files with 104 additions and 60 deletions
|
@ -113,7 +113,7 @@ class FrontController
|
|||
if (isset($params['audio'])) {
|
||||
try {
|
||||
try {
|
||||
$url = $this->download->getURL($params["url"], 'bestaudio');
|
||||
$url = $this->download->getURL($params["url"], 'bestaudio[protocol^=http]');
|
||||
return $response->withRedirect($url);
|
||||
} catch (\Exception $e) {
|
||||
$video = $this->download->getJSON($params["url"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue