PHP CSS Selector Library?

Wilco picture Wilco · Nov 4, 2008 · Viewed 20.1k times · Source

Is there a PHP class/library that would allow me to query an XHTML document with CSS selectors? I need to scrape some pages for data that is very easily accessible if I could somehow use CSS selectors (jQuery has spoiled me!). Any ideas?

Answer

Wilco picture Wilco · Nov 4, 2008

After Googling further (initial results weren't very helpful), it seems there is actually a Zend Framework library for this, along with some others: