Skip to content

Instantly share code, notes, and snippets.

@map0logo
Created February 21, 2015 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save map0logo/d97911f3d7dae2d30804 to your computer and use it in GitHub Desktop.
Save map0logo/d97911f3d7dae2d30804 to your computer and use it in GitHub Desktop.
Para descargar las imágenes del libro "Venezuela en cifras" http://www.mppp.gob.ve/libro/
import urllib
url = "http://www.mppp.gob.ve/libro/images/VzlaEnCifras-{}.jpg"
data = "VzlaEnCifras-{}.jpg"
for i in xrange(1, 151):
image = urllib.URLopener()
image.retrieve(url.format(i), data.format(i))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment