You're viewing a comment by Peteris Krumins and its responses.
You're viewing a comment by Peteris Krumins and its responses.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)
If you are interested in advertising on catonmat.net, contact me.
Free tools for coding on Vietstarsoft.com.
Programming homework help.


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