I want to use one sitemap on different websites for a price comparison CSV. I want to add urls of 30 products from different websites, then extract the product name and price. Difficulty is, H1 for example, is the same for each site, so i can't extract with out overwriting previous product title data.
Url: Lavandula angustifolia 'Hidcote' (AGM) 2L - Coolings Garden Centre
URL 2: https://www.knightsgardencentres.com/product/lavender-angus-hidcote-3-litre-pot#description-link
![]()
Sitemap:
{"_id":"PriceComparison","startUrl":["https://www.knightsgardencentres.com/product/honeysuckle-lonicera-periclymenum-belgica","https://www.knightsgardencentres.com/product/floribunda-bush-rose-truly-loved","https://www.knightsgardencentres.com/product/viano-rhs-recovery-organic-lawn-fertiliser-10kg","https://www.knightsgardencentres.com/product/cordyline-charlie-boy-2-litre-pot"],"selectors":[{"id":"Coolings Product Name","parentSelectors":["Coolings Site"],"type":"SelectorText","selector":"h1","multiple":false,"regex":""},{"id":"Coolings Product Code","parentSelectors":["Coolings Site"],"type":"SelectorHTML","selector":"strong","multiple":false,"regex":""},{"id":"Coolings Price","parentSelectors":["Coolings Site"],"type":"SelectorText","selector":"div[itemprop='price']","multiple":false,"regex":""},{"id":"Knights Product Title","parentSelectors":["Knights Site"],"type":"SelectorText","selector":"h1","multiple":false,"regex":""},{"id":"Knights Product Price","parentSelectors":["Knights Site"],"type":"SelectorText","selector":"#product-info-left div[itemprop='offers']","multiple":false,"regex":""},{"id":"Knights In stock","parentSelectors":["Knights Site"],"type":"SelectorText","selector":"#product-options div.in_stock","multiple":false,"regex":""},{"id":"Dobies Product Name","parentSelectors":["Dobbies Site"],"type":"SelectorText","selector":"h1","multiple":false,"regex":""},{"id":"Dobies Pot Size","parentSelectors":["Dobbies Site"],"type":"SelectorText","selector":"div:nth-of-type(17) span.units","multiple":false,"regex":""},{"id":"Dobies Price","parentSelectors":["Dobbies Site"],"type":"SelectorText","selector":"div:nth-of-type(17) .product-price-collection span","multiple":false,"regex":""},{"id":"Coolings Site","parentSelectors":["_root"],"type":"SelectorLink","selector":".d-none img","multiple":false,"linkType":"linkFromInlineScript"},{"id":"Knights Site","parentSelectors":["_root"],"type":"SelectorLink","selector":"a.logo","multiple":false,"linkType":"linkFromHref"},{"id":"Dobbies Site","parentSelectors":["_root"],"type":"SelectorLink","selector":"www.dobies.co.uk","multiple":false,"linkType":"linkFromInnerText"}]}