crawler get text 2c not get html

Solutions on MaxInterview for crawler get text 2c not get html by the best coders in the world

showing results for - "crawler get text 2c not get html"
Simona
12 Jan 2017
1	$node->filter('span[class="final-price"]')->each(function ($n) {
2  $html = $n->html();
3
4  $html = explode("<span", $html);  
5    // <span> 
6    //		11 USD
7    // 		<span> -37% </span>
8    // </span>
9    pr (trim($html[0]));	// just get 11 USD only
10  });