-
-
Save eordano/739980 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/python | |
from urllib import urlopen | |
base_url = 'http://silvestre.itba.edu.ar/itbaV/colacion/imgcol/big/' | |
for i in range(1,571): | |
filename = "ITBA_COLGDO10_" + str(i).rjust(4,'0') + ".jpg" | |
url = base_url + filename | |
resource = urlopen(url) | |
f = open(filename, 'w') | |
f.write(resource.read()) | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment