Update downloader.py

This commit is contained in:
CorpNewt
2025-01-21 08:34:23 -06:00
committed by GitHub
parent e5398ca8da
commit ba8b55dfe0
+1 -1
View File
@@ -264,7 +264,7 @@ class Downloader:
process.join() process.join()
return chunk_so_far return chunk_so_far
def stream_to_file(self, url, file_path, progress = True, headers = None, ensure_size_if_present = True, allow_resume = True): def stream_to_file(self, url, file_path, progress = True, headers = None, ensure_size_if_present = True, allow_resume = False):
response = self.open_url(url, headers) response = self.open_url(url, headers)
if response is None: return None if response is None: return None
bytes_so_far = 0 bytes_so_far = 0