Created
June 20, 2020 08:19
-
-
Save Allwin12/5f21a2c51410df5a85d35a313412aa03 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
import requests | |
url = 'https://miro.medium.com/max/1400/1*X40IVMQsIgSjWsGAxJG7Zw.jpeg' | |
response = requests.get(url) | |
with open('url.png', 'wb') as f: | |
f.write(response.content) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment