I'm trying to read the address of an image located on another web page. The image is wrapped in an anchor tag that has an id attached to it. The html for the link and the image appears like this:
I can read as far as the anchor tag, but can't seem to figure out how to find the path of the image on the next line down.
<a id="uniqueid" href="#">
<img src="path-to-image.jpg" />
I could just read the next line in the file, but I'm afraid if they ever altered the white space on the other page, my code would stop working properly. Any thoughts?