javascriptphpweb-scrapingcurl

Login Javascript within PHP


I have been creating a web scraper for an internal application with PHP but one of the pages has a JavaScript login is there any way of autonomously logging in to scrape the data as usual?

(I am using curl to log in to the other two sites)


Solution

  • Use Firebug to check out what does browser send to server. After it you can do the same requests with curl.