Make curl follow redirects
This commit is contained in:
parent
b432906d2a
commit
a57a493742
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ class FrontController
|
||||||
array(
|
array(
|
||||||
'curl',
|
'curl',
|
||||||
'--silent',
|
'--silent',
|
||||||
|
'--location',
|
||||||
'--user-agent', $video->http_headers->{'User-Agent'},
|
'--user-agent', $video->http_headers->{'User-Agent'},
|
||||||
$video->url
|
$video->url
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue