

def linkedin(url):
    'Return the number of times a given URL was shared in LinkedIn.'
    api = ('https://www.linkedin.com/countserv/count/share?url=' + url)
    respobj = requests.get(api, timeout=5)
    rtext = respobj.text
    spattern = '"count":(?P<scrape>[0-9,]+?),'
    return regex(rtext, rtext)

dataset/ETHPy150Open miklevin/pipulate/common.py linkedin/VarMisuse@48/114 `spattern`->`rtext`