NOTE: This project is no longer maintained! more info
Scrapemark is a super-convenient way to scrape webpages in Python.
It utilizes an HTML-like markup language to extract the data you need. You get your results as plain old Python lists and dictionaries. Scrapemark internally utilizes regular expressions and is super-fast.
As an example, here is a way you could scrape all the links on the Digg homepage in one fell swoop:
import scrapemark
print scrapemark.scrape("""
{*
<div class='news-summary'>
<h3><a href="/deoxy?target=https%3A%2F%2Fgithub.com%2Farshaw%2F%257B%257B%2520%5Blinks%5D.url%2520%257D%257D">{{ [links].title }}</a></h3>
<p>{{ [links].description }}</p>
<li class='digg-count'>
<strong>{{ [links].diggs|int }}</strong>
</li>
</div>
*}
""",
url='http://digg.com/')