FriendsOfPHP / Goutte

Goutte, a simple PHP Web Scraper
MIT License
9.26k stars 1.01k forks source link

Selecting link from a tag without value #333

Open lincolnaleixo opened 6 years ago

lincolnaleixo commented 6 years ago

Is it possible to select the link using the ID instead of value? Something like this:

$crawler->filter('#elementid')->selectLink()

Thanks