Trying to scrape shopee website

Want to scrape the listing below the banners.
I can get all 50 titles of the listing in the data preview
but when i press scrape, most of the data appears as null

what did i do wrongly ?
please assist

Thank you

Url: https://shopee.sg/Toys-Kids-Babies-cat.12

The Shopee site uses lazy loading, so it needs a scroller to load the bottom-of-page items. If you don't scroll down, you will get null results.

1 Like

Thank you Lee Meng
It works

Hmm to add on,
does anyone know how to extract images if the html is displayed like this

<div class="_1T9dHf _3XaILN" style="background-image: url(&quot;https://cf.shopee.sg/file/6ebce3ce91591590a1179fc5598c18cb_tn&quot;); background-size: contain; background-repeat: no-repeat;"></div>

The image is in the css background-image

Thank you

hmm I am not sure, maybe use regex to get it out? @iconoclast, I see you're back.. any thoughts here?

Normally you could just use Element attribute for this. but there's a need to extract a url so you can use Element: HTML and a regex (Element attribute does not support regex yet):

Selector: div[style^="background-image"]

Regex: (?<=&quot;).+(?=&quot;)

Assuming the url between the two &quot; is what you wanted.

1 Like