i am trying to get the code of a website using Python. The problem is that when i try to create a GET request using cloudscraper, it returns the instant code generated in HTML.
On this website, some code appears after the page has been rendered. How can i make it so that the scrapper return the code after a few seconds after the page has been opened?
This is my code:
scraper = cloudscraper.create_scraper()
content = scraper.get("link").text
I have already tried to add a delay in the create_scrapper but it does not seem to work. Thank you for the help!