about summary refs log tree commit diff
path: root/youtube_dl/downloader/http.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-03-28 08:11:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-03-28 08:11:39 +0100
commitc59e701e35dedb40da9d1e88c051141e63ded550 (patch)
treed12a09375f037b28c5085f839bfe56ca7c0876d2 /youtube_dl/downloader/http.py
parent8e678af4ba873c348ec2634ab22f84c61546c093 (diff)
downloadyoutube-dl-c59e701e35dedb40da9d1e88c051141e63ded550.tar.gz
youtube-dl-c59e701e35dedb40da9d1e88c051141e63ded550.tar.xz
youtube-dl-c59e701e35dedb40da9d1e88c051141e63ded550.zip
Default to continuedl=True
We already do this in the CLI interface, so it should be just fine.
Diffstat (limited to 'youtube_dl/downloader/http.py')
-rw-r--r--youtube_dl/downloader/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py
index 4047d7167..d136bebd1 100644
--- a/youtube_dl/downloader/http.py
+++ b/youtube_dl/downloader/http.py
@@ -49,7 +49,7 @@ class HttpFD(FileDownloader):
 
         open_mode = 'wb'
         if resume_len != 0:
-            if self.params.get('continuedl', False):
+            if self.params.get('continuedl', True):
                 self.report_resuming_byte(resume_len)
                 request.add_header('Range', 'bytes=%d-' % resume_len)
                 open_mode = 'ab'