python - Grab Bing Wallpaper with python3? -
i wanna write python script grabs bing.com wallpaper , saves it.
the urls of these wallpapers like:
http://www.bing.com/az/hprichbg/rb/europeesa_de-de7849418832_1920x1080.jpg http://www.bing.com/az/hprichbg/rb/canislupus_de-de11366975292_1920x1080.jpg http://www.bing.com/az/hprichbg/rb/houseboats_de-de8695714746_1920x1080.jpg
is there way find image url of todays wallpaper automatically?
for number, url in enumerate(list_of_urls): urllib.urlretrieve(url, 'image {}.jpg'.format(number + 1))
Comments
Post a Comment