import requests
response = requests.get("http://www.yuangaofen.com:8081/training_img/2017_11_8_8/3094318353_333134257.jpg")
with open('meinv.jpg','wb') as f:
f.write(response.content)
f.close()
python爬虫图片下载
最新推荐文章于 2024-07-22 17:25:13 发布
import requests
response = requests.get("http://www.yuangaofen.com:8081/training_img/2017_11_8_8/3094318353_333134257.jpg")
with open('meinv.jpg','wb') as f:
f.write(response.content)
f.close()