This is my code I'm using cheerio
const url = 'https://kbdfans.com/collections/ready-to-use'
axios(url).then(response => {
const html = response.data
const $ = cheerio.load(html)
const arrayData = []
$('.product-block.one-fifth.small-down--one-whole.grid-flex__item').each(function(index){
const description = $(this).find('a.product-block__title-link').text()
const price = $(this).find('span.theme-money').text()
const img = $(this).find('img.rimage__image.fade-in.lazyautosizes.lazyloaded').attr('srcset')
const id = index
arrayData.push({
id,
description,
price,
img
})
})
const result = {
arrayData
}
console.log(arrayData)
}).catch(err => {console.log(err)})
This is the image that I want to obtain.