def parse_soup(content):
    try:
        soup = BeautifulSoup(content, convertEntities=BeautifulSoup.HTML_ENTITIES)
        return soup
    except __HOLE__, e:
        logger.error("%d: %s" % (e.code, e.msg))
        return
dataset/ETHPy150Open numb3r3/crawler-python/crawler/core/base.py/parse_soup