I cannot create a generic selector after the first picture of the website below, so I get the scraping to work properly only on the page in which i created the selectors.
When creating the first selector clicking on the top left picture I get:
.product-detail-main-image-container img
This will work on all the similar pages of my sitemap.
However creating the subsequent selectors with the other pictures I get very specific selectors like:
img[alt='Long-sleeved blouse - Light beige - Ladies | H&M 2']
How do I get a generic selector like the first one so it will work on all the pages of the sitemap?
Url: https://www2.hm.com/en_asia4/productpage.0915611022.html