def clean(self, val):
    if type(val) is not StringType:
        val = str(val)
val = re.sub('<.*?>', '', s)
val = re.sub('\\s+', ' ', val)
return val.strip()
How do you get the text from an HTML 'datacell' using BeautifulSoup