The Bytecode Club
Retrieving Image With JSoup - Printable Version

+- The Bytecode Club (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Programming (https://the.bytecode.club/forumdisplay.php?fid=86)
+--- Thread: Retrieving Image With JSoup (/showthread.php?tid=188)



Retrieving Image With JSoup - Righteous - 12-23-2014

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.



RE: Retrieving Image With JSoup - Konloch - 12-24-2014

Try using HTMLUnit - http://htmlunit.sourceforge.net/

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