

def stripemptyhtml(url):
    html = url
    if checkurl(url):
        html = gethtml(url)
        if (not html):
            return None
    for anel in ('li', 'ul', 'ol'):
        repme = '<%s></%s>'
        html = html.replace(repme, '')
    return html

dataset/ETHPy150Open miklevin/pipulate/common.py stripemptyhtml/original