Created
February 2, 2018 04:26
-
-
Save luanvuhlu/2c002730b5f9ccf9a83c776ddea93994 to your computer and use it in GitHub Desktop.
download list image link
This file contains hidden or 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
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