code: def thumbnail(self, path, height, width, quality=100, **kwargs):
          
          params = {'ec': 1,
                    'path': path,
                    'quality': quality,
                    'width': width,
                    'height': height}
  
          url = 'http://{0}/rest/2.0/pcs/thumbnail'.format(BAIDUPCS_SERVER)
          return self._request('thumbnail', 'generate', url=url, extra_params=params, **kwargs)
docs: 获取文件缩略图
  
          :param path: 远程文件路径
          :param height: 缩略图高
          :param width: 缩略图宽
          :param quality: 缩略图质量，默认100
  
          :return: requests.Response
  
              .. note::
                  如果返回 HTTP 404 说明该文件不存在缩略图形式