$crawler->filter('body')->children('a.lorem')->attr('href'); //if you need the link $crawler->filter('a')->attr('href');