Forum How do I...?

Authenticate to website?

edo102
Is it possible to pass along a username and password to a website that I want to convert to pdf?
Currently, I am using curl to fetch the website, and the conversion works fine for the html that gets downloaded. However, the images that it references do not, since it tries to fetch them from the secure website. Is there anyway around this?

Cheers,
Edmund
mikeday
Does the website have a HTTP URL with basic authentication, ie. it pops up a dialog box in the browser asking you for a username and password, or is it a HTTPS URL?
edo102
Yes, it has HTTP URL with basic authentication.
mikeday
I've added this issue to the roadmap and we will try adding support for basic HTTP authentication to the next release of Prince.
edo102
I see from the roadmap that http authentication has been added. When will this functionality be made available (i.e. when is the next release) ?
Thanks!
mikeday
We hope to have the next maintenance release out early this month.
mikeday
We have now released Prince 6.0 rev 3, which includes support for basic HTTP authentication with two new command-line arguments, --http-user and --http-password.