Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save image requests python

import requests

url = 'http://google.com/favicon.ico'
r = requests.get(url, allow_redirects=True)
open('google.ico', 'wb').write(r.content)
Source by www.codementor.io #
 
PREVIOUS NEXT
Tagged: #save #image #requests #python
ADD COMMENT
Topic
Name
7+6 =