majianyu
11/3/2017 - 3:45 AM

download

wb = requests.get(url,stream=True)
if wb.status_code == 200:
    wb.encoding = "utf-8"
    with open(save_path, 'wb') as file_log:
        for chunk in wb.iter_content(1024):
            file_log.write(chunk)