python 下载图片
import requests from PIL import Image from io import BytesIO url = 'http://image2.buslive.cn/shp/upload/2017/11/29_00545678.jpeg' response = requests.get(url) image = Image.open(BytesIO(response.content)) image.save('9.jpg')
每天扫一扫,到店付款省钱!
动动小手支持一下作者,谢谢🙏