import requests pic_url = "https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" r = requests.get(pic_url) with open("1.png", "wb")as f: f.write(r.content)
import requests pic_url = "https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" r = requests.get(pic_url) with open("1.png", "wb")as f: f.write(r.content)