Hello experts,
I'm new to web scrapping and recently I was trying to scrape images from this ecommerce site, Lazada. However, I only managed to scrape the first image. I know this kind of question has been asked many times and I've also read the other topics about scraping multiple images but still failed to get all the images scraped.
{"_id":"xiaomimobiles","startUrl":["https://www.lazada.com.my/shop-mobiles/?spm=a2o6s.10415192.0.0.6f6e3bb9a47Frc&xiaomi-official-store&from=wangpu&sc=KVUG&q=All-Products"],"selectors":[{"id":"productlink","type":"SelectorLink","parentSelectors":["_root"],"selector":".c16H9d a","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["productlink"],"selector":"span.pdp-mod-product-badge-title","multiple":false,"regex":"","delay":0},{"id":"images","type":"SelectorImage","parentSelectors":["productlink"],"selector":"img.item-gallery__thumbnail-image","multiple":true,"delay":0}]}
BTW, some products may have 3-4 images while others can have up to 5-6 images.
Thanks and really appreciate your guidance.