Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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