Subash Chandran posted: "import requests url = 'https://www.facebook.com/favicon.ico' r = requests.get(url, allow_redirects=True) open('facebook.ico', 'wb').write(r.content) #####################output################ the file facebook.ico was created in the python folder"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.