Created
November 27, 2015 08:34
-
-
Save anishmashankar/5e4a5b7d5b80bc6299e4 to your computer and use it in GitHub Desktop.
A simple script that will download all the Star Wars : The Force Awakens wallpapers from Google's Chrome Extension.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by Anish Mashankar | |
# Website: http://anishm.co | |
# This is a simple script that will download all the Star Wars: The Force Awakens wallpapers | |
# The image files will be stored on the same destination where this script is kept if the promt is left blank | |
# May the force be with you | |
import urllib | |
folder = raw_input("Where do you want your images to be stored? Enter the path to folder") | |
for i in range(1,12): | |
myurl = "https://www.gstatic.com/beyond/img/l"+str(i)+".jpg" | |
destination = folder+"/"+"image"+str(i)+".jpg" | |
urllib.urlretrieve(myurl,"image"+str(i)+".jpg") | |
print myurl+" done" | |
print "Script completed. You can now find your wallpapers in the folder you mentioned earlier." | |
print "May the force be with you" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment