http = urllib3.PoolManager() with http.request('GET', url, preload_content=False) as r, open(path, 'wb') as out_file: shutil.copyfileobj(r, out_file)