Is there a way in jsoup to extract an image absolute url, much like one can get a link\'s absolute url?
Consider the following image element found in http://ww
Let's assume you are parsing http://www.example.com/index.html.
Use jsoup to extract the img src which gives you: images/chicken.jpg
You can then use the URI class to resolve this to an absolute path:
URL url = new URL("http://www.example.com/index.html");
URI uri = url.toURI();
System.out.println(uri.resolve("images/chicken.jpg").toString());
prints
http://www.example.com/images/chicken.jpg