Hello every one,
I am using PHP Scraping to get the page html. but there is a problem that the page is loaded through ajax that takes some time to load.The file_get_html() get the html before the file is loaded.what i can do to solve this problem.
You would write an javascript parser.
PHP only cares about data. By scraping the page you get the html data, you need to write a way to parse the javascript to do what you want. If the link itself relies on JS to load it, then your only option is to parse it if you want to do something with it. I guarantee that it will not be fun to rewrite a javascript parser.