I have a small script where I am gathering the HTML of a URL. This works fine and it brings back the HTML. The problem is, this url is rendering some DIVs after the page has loaded so I can see those DIVs when I open it in browser but not when I use curl or file get contents. What would be the solution for this?
Share
No. You have no reliable chance to run javascript throught php. However, you can sniff ajax requests in your debugger and take urls & get them too. You just need to create your own parser