crawler get text, not get html
snippet in html

crawler get text, not get html

user8660

	$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
  });