This is about Python tutorial 22, I tried many time not working for me. Need help Please, thanks
import random
import urllib.request

def download_web_image(url):
name = random.randrange(1, 1000)
full_name = str(name) + ".jpg"
urllib.request.urlretrieve(full_name)

download_web_image('https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcT3lGEbpTNaxNvsXBaMaI_NXVxBrT2JSPVlKcI7jeXhQbvdFHPxYA.jpg')
I put this address in new goolge window and works every time , thank