The assignment:
I have been given a bunch of urls into a text file from a same website and have been asked to parse image for each url.
like:
domain.com/mahmud.html
domain.com/Jean.html
domain.com/Reese.html
sample html code inside domain.com/Reese.html as follows:
<div class="profile-top">
<div class="enlisted">
<h2 class="thumb clearfix">
<a href="/account/profile_image/Reese?hreflang=en"><img alt="" border="0" height="73" id="profile-image" src="http://domain.com/profile_images/Reese.jpg" valign="middle" width="73" /></a>
Reese
</h2>
</div>
*** target image http://domain.com/profile_images/Reese.jpg
Output should look like:
domain.com/mahmud.html show image
domain.com/Jean.html show image
domain.com/Reese.html show image
A good guideline will be highly appreciated. Thanks in advance.