I am having a trouble with my script. It is supposed to download html from another website and use some specific data and output it to my website. But the website I need to download the html from uses javascript to generate some important data. How can I download the html after javascript has loaded, and use ajax to sent it to php?
Before I was using the file_get_contents
, but that only downloads the raw html.