Quantcast
Channel: SeoTools for Excel - Community - Latest topics
Viewing all articles
Browse latest Browse all 1126

Find correct xpath

$
0
0

@Bas wrote:

Hi,

I am trying to scrape the lowest price on a overview page with multiple products. With //*[contains(@class,'price-bottom')]//span I am able to grab a price. However it is not always the product with the lowest price. Could you help me write a xpath for the lowest price?

For example, there could be up to 20 products that have a code like this:

<div class="price-bottom"><sub>vanaf</sub><span>4099</span></div>

<div class="price-bottom"><sub>vanaf</sub><span>2349</span></div>

<div class="price-bottom"><sub>vanaf</sub><span>3099</span></div>

Thanks!

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>