def urltokw(url):
  noproto = choprotocol(url)
  if '/' in noproto:
    import re
    path = noproto[noproto.find('/'):]
    kws = re.sub('[/_-]+', ' ', path)
    kws = re.sub(' +',' ', kws)
    return kws.strip()
  else:
    return None
dataset/ETHPy150Open miklevin/pipulate/common.py/urltokw/original