I'm trying to read a website's content but I get an empty bytes object, b''
.
import urllib3
from urllib3 import PoolManager
urllib3.disable_warnings()
https = PoolManager()
r = https.request('GET', 'https://minemen.club/leaderboards/practice/')
print(r.status)
print(r.read())
When I open the URL in a web browser I see the website, and r.status
is 200 (success).
Why does r.read()
not return the content?