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
Post a Comment