A simple example of scraping the apiconsf site for the list of sponsors.
In [1]:
from lxml.html import fromstring
import requests
url = "http://www.apiconsf.com/apiconsponsors"
doc = fromstring(requests.get(url).content)
In [2]:
doc.cssselect(".sponsor_bio")
Out[2]:
In [3]:
# if we just want name
print "\n".join([e.text for e in doc.cssselect(".bio_name")])