I am trying to scrape the price of product but it not working can someone please help, this is the code :
$curl->get('https://www.aliexpress.com/item/32844492002.html');
$response = $curl->getRawResponse();
$html4 = new simple_html_dom();
$html4->load($response);
$price2 = $html4->find("div[class='product-price'] div[class='product-price-current'] span[class='product-price-value']",0)->plaintext;
echo $price2;
i get this error
Notice: Trying to get property 'plaintext' of non-object