Reputation: 11
Get child node based on a specific parent
function(Crawler $node,){
$node->filter('this>ul');
}
How can I get a $node
children,that does not contain a grandson like the CSS selector #parent>child
?
Upvotes: 1
Views: 2023
Reputation: 4471
this
or parent
selector in CSS.$node->filter('>ul');
Upvotes: 2