Failed to download images using map()

前端 未结 0 574
甜味超标
甜味超标 2021-02-03 13:30
import requests

def download_jpg(img_name,img_url):
   img_data = requests.get(img_url).content
   with open(img_name,\'wb\') as handler:
        handler.write(img_data         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题