Make curl follow redirects

This commit is contained in:
Pierre Rudloff 2016-07-27 03:06:06 +02:00
parent b432906d2a
commit a57a493742

View file

@ -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
), ),