1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-24 07:26:41 +02:00

Use curl in silent mode

Always append curl custom parameters at the end
This commit is contained in:
Pierre Rudloff 2016-04-14 12:48:32 +02:00
parent d00c1dc91c
commit ecba860c5a

View File

@ -184,12 +184,13 @@ class FrontController
$chain = new Chain(
ProcessBuilder::create(
array_merge(
array('curl'),
$this->config->curl_params,
array(
'curl',
'--silent',
'--user-agent', $video->http_headers->{'User-Agent'},
$video->url
)
),
$this->config->curl_params
)
)
);