response = session.get("https://www.eee.com", headers=header) with open("index_page.html", "wb") as f: f.write(response.text.encode("utf-8"))
response = session.get("https://www.eee.com", headers=header) with open("index_page.html", "wb") as f: f.write(response.text.encode("utf-8"))