php - Download html after javascript loads with ajax -


i having trouble script. supposed download html website , use specific data , output website. website need download html uses javascript generate important data. how can download html after javascript has loaded, , use ajax sent php?

before using file_get_contents, downloads raw html.

you should take headless browser, know https://github.com/ariya/phantomjs phantomjs, i'm sure there others.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -