I need to download all text and images from a SSL secure website. I’ve done that bit successfully using CURL, however in it there are other text and images which get populated with a click on a link and that link calls JQuery’s $.post request.
How to get contents through Jquery $.post inside CURL?
You’d have to do this manually, because cURL is not a browser, it doesn’t run JavaScript. It can only do exactly what you have instructed it to do, perform a GET here, a POST there, etc.
You’d have to inspect the source code for each site yourself and add special instructions in your code that will perform requests that otherwise would have been done with
$.post()and friends when run in a regular browser.