def clean_attr(attr):
    if attr:
        if 'text' in attr:
            return 'text()'
        else:
            attr = attr.lstrip('@')
    if attr:
        return '@' + attr
    return None
Returns a dict containing the content from the response.
dataset/ETHPy150Open huntrar/scrape/scrape/utils.py/clean_attr--crossover with--dataset/ETHPy150Open espeed/bulbs/bulbs/rexster/client.py/RexsterResponse.get_content