3 ms·
I've used BeautifulSoup before and I've gotta say that it was kind of a pain; surely easier than writing regex myself, but I've had a much more pleasant parsing
by cookiecaper 17y ago
I've used BeautifulSoup before and I've gotta say that it was kind of a pain; surely easier than writing regex myself, but I've had a much more pleasant parsing experience with other methods, like XPath in scrapy or jQuery API.
BeautifulSoup is also only kinda-sorta-maintained from what I recall, so it's probably better to use something else.
- Erwin 17y agoI've found this addition to BeatifulSoup useful: http://code.google.com/p/soupselect/ http://code.google.com/p/soupselect/ which lets you use CSS expressions to find what you want.