The Bytecode Club

Full Version: Retrieving Image With JSoup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is more of a challenge then "help" but I couldn't do it so..


Objective: Grab the captcha image from the webpage, download it or whatever

When I tried it, I tried listing all links just to see if it would output but it didn't? No matter what I try id, div, nothing is getting the image src let alone downloading the image.
Try using HTMLUnit - http://htmlunit.sourceforge.net/

It'll be able to run and render everything on the webpage, including Javascript.