Skip to content

Instantly share code, notes, and snippets.

@luanvuhlu
Created February 2, 2018 04:26
Show Gist options
  • Save luanvuhlu/2c002730b5f9ccf9a83c776ddea93994 to your computer and use it in GitHub Desktop.
Save luanvuhlu/2c002730b5f9ccf9a83c776ddea93994 to your computer and use it in GitHub Desktop.
download list image link
import urllib
import random
import string
for i in a:
urllib.urlretrieve(i, ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))+".jpg")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment