

def stripparams(url):
    html = url
    if checkurl(url):
        html = gethtml(url)
        if (not html):
            return None
    pattern = '(<\\s*[a-zA-Z0-9]+).*?(?:>)'
    pat = re.compile(pattern, (re.IGNORECASE | re.DOTALL))
    nopram = pat.sub('\\1>', html)
    return nopram

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