

def mcanonical(mobile):
    'Return the canonical tag found in the URL referred to by under the mobile column.'
    try:
        ro = requests.get(mobile, timeout=5)
        text = ro.text
        xpth = "/html/head/link[@rel = 'canonical']/@href"
        revcon = scraper(mobile, xpth)
        return revcon
    except:
        return None

dataset/ETHPy150Open miklevin/pipulate/common.py mcanonical/VarMisuse@43/98 `text`->`mobile`