I'd like to download the css of a page and achieve the same appearance as in the browser. The problem is that the scraped result looks different.
For example, I want to download the landing page of google.
That's the code I have used:
import requests
from requests_html import HTMLSession
session = HTMLSession()
r = session.get('https://www.google.com')
r.html.render()
file = open("start.html", "w")
file.write(r.text)
file.close()