You're replying to a comment by Peter Krumins.

May 05, 2009, 01:10

Chad, thanks for leaving a comment. There are a couple of points that I want to make:

1. you don't check for errors - my code does very rigorous error checking so that my applications did not suddenly die because of unhandled exceptions.

2. i love the conciseness of your code - mine is 10x longer.

3. i did not know lxml supported xpath - very nice to learn that.

4. i know lxml is much faster than BeautifulSoup, but it's also less prone to malformed HTML. but perhaps in the case when we parse Google it's not that important.

That's everything that I can think of at the moment.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "sandbox_139": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.