FriendsOfPHP / Goutte

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

feature request: find nodes between 2 node (in siblings) #375

Open erlangparasu opened 5 years ago

erlangparasu commented 5 years ago

feature request: find nodes between 2 node (in siblings)

larowlan commented 5 years ago

You should be able to use ->filter() here and build a new collection - collecting items once you've seen the first node and breaking when the second node is found.

erlangparasu commented 5 years ago

i tried it and works... @larowlan thanks