i want to parser web using simple dom ,i get output like here
my code
foreach($html->find('ul[class=result-topic] a ') as $e){
$count++;
$d = ($e->href )."<br>";
echo($d)."<br>";
if($count == 2)
{
exit();
}
}
output
/news/354985850
/film/74808409409
this not full article ,how to replace url with full article like here ,output
/news/full/354985850
/film/full/74808409409