def get_text(self, element):
        value = ""

        for text in element.childNodes:
            try:
                value += text.data
            except __HOLE__:
                logging.error("get_text() error: " + text.toxml())
                raise

        if value:
            return value.strip()
        else:
            return None
dataset/ETHPy150Open dasevilla/goodreads-python/goodreads/parser.py/GoodReadsParser.get_text