How could I run the JS to mock as browser to avoid 429 error?
from requests_html import HTMLSession
with HTMLSession() as s:
url = 'https://www.realestate.com.au/auction-results/nsw'
r = s.get(url)
print(r.status_code)
print(r.text)
r.html.render()
print(r.text)
This website uses JS to set cookie.
How could I run the JS to mock as browser to avoid 429 error?