# coding=utf8 #下载指定图片 from urllib.request import urlretrieve urlretrieve( "https://pics2.baidu.com/feed/b151f8198618367a0fd4de8fc29d33d3b21ce57e.jpeg?token=ee8e75d9527a2d23c81496607390b88d&s=724F985602B89DD8144A5E910300D08C", "F:\\workspace\\API_test\\Crawlers\\pic\\1.jpg")