code: def query_download_tasks(self, task_ids, operate_type=1, **kwargs):
          
  
          params = {
              'task_ids': ','.join(map(str, task_ids)),
              'op_type': operate_type,
          }
          url = 'http://{0}/rest/2.0/services/cloud_dl'.format(BAIDUPAN_SERVER)
          return self._request('services/cloud_dl', 'query_task', url=url,
                               extra_params=params, **kwargs)
docs: 根据任务ID号，查询离线下载任务信息及进度信息。
  
          :param task_ids: 要查询的任务 ID字符串 列表
          :type task_ids: list or tuple
          :param operate_type:
                              * 0：查任务信息
                              * 1：查进度信息，默认为1
  
          :return: requests.Response
  
              .. note::
                  返回正确时返回的 Reponse 对象 content 中的数据结构
  
                  给出一个范例
  
                  {
                      "task_info":
                          {"70970481":{
                                  "status":"0",
  
                                  "file_size":"122328178",
  
                                  "finished_size":"122328178",
  
                                  "create_time":"1391620757",
  
                                  "start_time":"1391620757",
  
                                  "finish_time":"1391620757",
  
                                  "save_path":"\/",
  
                                  "source_url":"\/saki-nation04gbcn.torrent",
  
                                  "task_name":"[KTXP][Saki-National][04][GB_CN][720p]",
  
                                  "od_type":"2",
  
                                  "file_list":[
                                      {
                                          "file_name":"[KTXP][Saki-National][04][GB_CN][720p].mp4",
  
                                          "file_size":"122328178"
                                      }
                                  ],
  
                                  "result":0
  
                                  }
                          },
  
                          "request_id":861570268
  
                  }