I'm processing HTML files that have multiple links to external images. How do I extract just those image links and download them?
HTML example:
<html>
<head>
<meta charset="UTF-8">
<title>A Page</title>
</head>
<body class="wiki >
<div id="page-base" class="noprint"></div>
<div id="indicator-default" class="indicator">
<img alt="Page gold" src="http://m.org/commons/thumb/f/Gold.png"width="150" height="200">
<img alt="Page silver" src="http://m.org/commons/thumb/f/Silver.png"width="120" height="200">
</div>
</body>
</html>
In this example I want to save the Gold.png and Silver.png image files contained in the HTML to my computer. What resource can I use the Java language for this problem?