aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/external.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-17 17:28:51 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-17 17:28:51 +0100
commitf9216ed6ad19cbf66487d514e5a5349a4d491671 (patch)
treec74d324035a3a18bf8a712165b117284e35264b8 /youtube_dl/downloader/external.py
parent65bf37ef83b67bd0e2c594283852d120734b2a3a (diff)
parentfbc503d69698fca33525707b859b41d491d681ff (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'youtube_dl/downloader/external.py')
-rw-r--r--youtube_dl/downloader/external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index ff031d2e0..51c41c704 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -75,7 +75,7 @@ class ExternalFD(FileDownloader):
class CurlFD(ExternalFD):
def _make_cmd(self, tmpfilename, info_dict):
- cmd = [self.exe, '-o', tmpfilename]
+ cmd = [self.exe, '--location', '-o', tmpfilename]
for key, val in info_dict['http_headers'].items():
cmd += ['--header', '%s: %s' % (key, val)]
cmd += self._source_address('--interface')