Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- response = requests.get("https://habr.com")
- file=open('habr.html','w',encoding='utf-8')
- file.write(response.text)
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement