import random
import urllib.request
def download_web_image(url):
name = random.randrange(1, 1000)
full_name = str(name) + ".jpg"
urllib.request.urlretrieve(url, full_name)
download_web_image("https://buckysroom.org/photos/users/2/resized/2463a86fdf42a1681c66ba8fd6789f9d.jpg")
1233
网友评论