Created
September 30, 2019 12:54
-
-
Save lakshay-arora/d3d6c62f70934b79b896d9453be05a5b 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
image_count = 1 | |
for image in image_src: | |
with open('image_'+str(image_count)+'.jpg', 'wb') as f: | |
res = requests.get(image) | |
f.write(res.content) | |
image_count = image_count+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment