Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import requests url = 'https://w3schools.com/python/demopage.htm' x = requests.get(url) print(x.content)
b'<!DOCTYPE html>\r\n<html>\r\n<body>\r\n\r\n<h1>This is a Test Page</h1>\r\n\r\n</body>\r\n</html>'