February 13th, 2014, 06:01 PM
Trouble writing a program to log into JIRA
I'm in the middle of writing a program which will connect to a specially crafted URL to get a generated PDF document and then download it via urllib.urlretrieve(). Unfortunately for it to work properly the python program must log into the website (which is an instance of JIRA) and that is the part I am having trouble with. I've tried a number of ways using urllib but with no success. If the login fails all it returns is a template pdf but that is of no use.
I've looked online and there are two libraries which might be of use but when I try to use them I get a load of errors. I think they were written for earlier version of Python and so with 3.2 or 3.3 （the versions I am looking to write this program for) they do not work. I've tried to get them to work but haven't had any luck so far.
This issue may be complicated because I think it is necessary to use https rather than normal http.
Any suggestions on how I should do this?