php file_get_contents - AFTER javascript executes -


basically, trying scrape webpages php want after initial javascript on page executes - want access dom after initial ajax requests, etc... there way this?

short answer: no.

scraping site gives whatever server responds http request make (from "initial" state of dom tree derived, if content html). cannot take account "current" state of dom after has been modified javascript.


Comments

Popular posts from this blog

sql server - NHibernate incorrectly creating ManyToMany table - Cannot define PRIMARY KEY constraint on nullable column error -

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -