4

I am trying to download the contents of a web page using curl but it seems l am missing some content that l suspect to be generated by JavaScript. If the page runs on the browser l am able to get all the contents l require.

1 Answers1

2

You can use PhantomJS to do it.

(From the link, PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.)

Chris Davies
  • 116,213
  • 16
  • 160
  • 287
Tam Nguyen
  • 31
  • 1