Is there documentation for using --cookie option? I'm using java wrapper to set the cookie. I tried doing:
prince.setOptions("--cookie='cookie1=value;cookie2=value'");
using curl --cookie option I'm able to get the image and save it, but with the method above, I'm getting unknown image type: text/html which I believe throwing authentication error.
prince.setOptions("--cookie='cookie1=value;cookie2=value'");
using curl --cookie option I'm able to get the image and save it, but with the method above, I'm getting unknown image type: text/html which I believe throwing authentication error.