SyntaxFix
Write A Post
Hire A Developer
Questions
Your code is correct. I tested:
r = requests.get("http://www.google.com") print(r.content)
And it returned plenty of content. Check the url, try "http://www.google.com". Cheers!