def make_soup(response):

"""

flamenco.py

Create a ``BeautifulSoup.BeautifulSoup`` instance out of a `response`.

def links(lis):
for li in lis:
yield li.findAll('a')[0]