code: def disable_share(cookie, tokens, shareid_list):
      '''取消分享.
  
      shareid_list 是一个list, 每一项都是一个shareid
      '''
      url = ''.join([
          const.PAN_URL,
          'share/cancel?channel=chunlei&clienttype=0&web=1',
          '&bdstoken=', tokens['bdstoken'],
      ])
      data = 'shareid_list=' + encoder.encode_uri(json.dumps(shareid_list))
      req = net.urlopen(url, headers={
          'Cookie': cookie.header_output(),
          'Content-type': const.CONTENT_FORM_UTF8,
          }, data=data.encode())
      if req:
          content = req.data
          return json.loads(content.decode())
      else:
          return Nonf disable_share(cookie, tokens, shareid_list):
      '''取消分享.
  
      shareid_list 是一个list, 每一项都是一个shareid
      '''
      url = ''.join([
          const.PAN_URL,
          'share/cancel?channel=chunlei&clienttype=0&web=1',
          '&bdstoken=', tokens['bdstoken'],
      ])
      data = 'shareid_list=' + encoder.encode_uri(json.dumps(shareid_list))
      req = net.urlopen(url, headers={
          'Cookie': cookie.header_output(),
          'Content-type': const.CONTENT_FORM_UTF8,
          }, data=data.encode())
      if req:
          content = req.data
          return json.loads(content.decode())
      else:
          return None
docs: 取消分享.
  
      shareid_list 是一个list, 每一项都是一个shareid