I am trying to grab a PNG image which is being dynamically generated with JSP
in a web service.
I have tried visiting the web page it is contained in and grabbing the image src
attribute; but the link leads to a .jsp
file. Reading the response with urllib2
just shows a lot of gibberish.
I also need to do this while logged into the web service in question, using mechanize.
This seems to exclude the option of grabbing a screenshot with webkit2png
or similar.
Thanks for any suggestions.