I use dropbox api, and created shareable Url to an image
After loading the url in browser I got html page that contains that image, while I need only the image link.
In the html page source in browser here's the link of the image:
<img class="preview-image absolute-center" src="<IMG-LINK>" style="visibility: visible;" data-reactid=".1.0.0">
but when I try to get the content of the url in java servlet I find that there's no image in the content
URL url= new URL("<dropbox-shareable-url>");
String content = IOUtils.toString(url);
I think the url page first should be loaded to get the image link i need.
Is there anyway to connect and load the url before getting the content in java?