Crawler Get Text, nicht html bekommen
$node->filter('span[class="final-price"]')->each(function ($n) {
$html = $n->html();
$html = explode("<span", $html);
// <span>
// 11 USD
// <span> -37% </span>
// </span>
pr (trim($html[0])); // just get 11 USD only
});
Zidane (Vi Ly - VietNam)