user4812
0
Q:

get attribute href from crawler

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

$crawler->filter('a')->attr('href'); 
0

New to Communities?

Join the community