I am using simple dom parser (php) to extract the dollar price from: http://www.lanacion.com.ar/dolar-tarjeta-t50462
<div class="numero floatFix">
<p class="peso">$</p>
<p id="dTarjeta" class="valor x35">
12,920
</p>
But I get the followng character "-" instead of "12,290". The code I use is:
$url_to_traverse = 'http://www.lanacion.com.ar/dolar-tarjeta-t50462';
$html = file_get_html($url_to_traverse);
foreach($html->find('#dTarjeta') as $element)
{
var_dump($element->text());
}
What I am doing wrong ?. Hope there is a solution coz I 've try a lot of libraries...