News for hackers. Stuff that matters.
Re:Better Python Scraping - Installing lxml and Beautiful Soup by iam on Tuesday June 28, 2011 @11:32AM (#2705768)
XPath/CSS path selectors for scraping are definitely the "now" way to do it. I recommend Nokogiri (http://nokogiri.org/) for the Ruby users, it does pretty much the same thing in a nutshell.

What it really comes down it is 2x-3x smaller code, plus much faster to write it since you can just test your CSS selector in your web browser such as with FireBug before sticking it into your code.

Re:Better Python Scraping - Installing lxml and Beautiful Soup by wesleyzhao on Tuesday June 28, 2011 @03:04PM (#2706796)
If I'm not mistaken LXML uses XPath and CSS path selectors right?