I want to scrape the products and their prices frome one e-commerce site and I have problems with it.
I cannot define/click the elements on the page. Is this page somehow protected from scraping?
I would like to scrape GTIN, Name of product and price of product which is hidden
Hello, thank you. I am kind of new in scraping... I've managed to click something after I've turned down "toogle device toolbar".
How can I extract data using sitemap you've posted?
Thank you very much for your help. I am doing something now!
I just have to figure how to disable the limit of 200 lines which are exported. (there are more articles)
Thank you for all your help. I somehow get the script running but it is scrolling to infinity with 280 results in the export. There are 382 results in the search engine
This is the sitemap code:
{"_id":"mercator2","startUrl":["Mercator Spletna Trgovina | Več Kot 13.000 Izdelkov > div[data-type="product"]","type":"SelectorElementScroll"},{"delay":0,"id":"price","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":".lib-product-price","type":"SelectorText"},{"delay":0,"extractAttribute":"data-gtin","id":"GTIN","multiple":false,"parentSelectors":["wrapper"],"selector":"parent","type":"SelectorElementAttribute"},{"delay":0,"id":"name","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"div.product-name","type":"SelectorText"},{"delay":0,"id":"oldprice","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"div.discount-price","type":"SelectorText"},{"delay":0,"id":"discount","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":".discount div","type":"SelectorText"},{"delay":0,"extractAttribute":"class","id":"discountType","multiple":false,"parentSelectors":["wrapper"],"selector":"div.discount","type":"SelectorElementAttribute"}]}