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.
Asked
Active
Viewed 1.8k times
1 Answers
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
curl
doesn't offer. On the other hand, I would agree it's a duplicate of the SU question that cas has suggested – Chris Davies Nov 03 '15 at 22:37curl
, which mwiti here is already ruling out as inadequate. – Chris Davies Nov 03 '15 at 23:15