Scrape imagelink - Xpathonurl

Hi,

We can not get the productimage link on this page http://www.vanillacopenhagen.dk/shop/vanilla-babynest-drops-599p.html (see productimage in red box on attached image file) ?

Please help :slight_smile:

Hi Jesper,

The image URL is stored in the attribute "src" so the correct Xpath is:
"//*[@id='ProductInfo_Fancybox_IMG']","src"

If you want the full URL with the domain, use the formula:
="http://www.vanillacopenhagen.dk" & XPathOnUrl(A1;"//*[@id='ProductInfo_Fancybox_IMG']";"src")

Hi diskborste,

It works! - thank you very much for your help :slight_smile:

Could I please ask you to help us get the product image link on this page too: http://www.walplus.com/ws3046-alphabet.html

Best regards,
Jesper

=XPathOnUrl(A1;"//div[@class='image']/a";"href")

Url in cell A1 as previous example.