I would like to look get the host name using requests repository in python. I tried to do this like that:
pprint(requests.get("https://www.facebook.com/").headers['domain'])
but it doesn't work. If it is possible in other repository I would be grateful for any answer.