dragosdydy
Junior Member
- Jan 23, 2012
- 116
- 50
Hi guys, I'm working on one of my projects and i encountered an issue. I don't know how to get a link for one image searching by it's class.
The link for the image is different for every URL but the image class is always the same.
The HTML code is something like that:
I think i must use the GetElementByClass but i dont how to get the src attribute.
Do you guys know how can i get the link of the image for every URL i search? Thanks.
The link for the image is different for every URL but the image class is always the same.
The HTML code is something like that:
HTML:
<img id="251" alt="random_name" src="https://LinkOfTheImage.jpg" class="Picture img">
I think i must use the GetElementByClass but i dont how to get the src attribute.
Do you guys know how can i get the link of the image for every URL i search? Thanks.