added basically the same thing in 4 lines with LXML.
when writing the actual scraper, we'll probably use BeautifulSoup.