def foundurl(lookforurl, positions=''):
  if positions:
    urldict = json.loads(positions)
    for thepos, aurl in urldict.iteritems():
      if lookforurl.lower() == aurl.lower():
        return aurl
Return a looked-for URL, given a positions object.
dataset/ETHPy150Open miklevin/pipulate/common.py/foundurl