def download_url(self, remote_path, **kwargs):
def get_url(dlink):<EOL><INDENT>return self.session.get(dlink,<EOL>headers=BAIDUPAN_HEADERS,<EOL>stream=True).url<EOL><DEDENT>if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>self.get_sign()<EOL><DEDENT>if isinstance(remote_path, str) or isinstance(remote_path, str):<EOL><INDENT>remote_path = [remote_path]<EOL><DEDENT>file_list = []<EOL>jdata = json.loads(self.meta(remote_path).content)<EOL>if jdata['<STR_LIT>'] != <NUM_LIT:0>:<EOL><INDENT>jdata = self.__err_handler('<STR_LIT>', jdata['<STR_LIT>'],<EOL>self.meta,<EOL>args=(remote_path,)<EOL>)<EOL><DEDENT>logging.debug('<STR_LIT>' + str(jdata))<EOL>for i, entry in enumerate(jdata['<STR_LIT:info>']):<EOL><INDENT>url = entry['<STR_LIT>']<EOL>foo = get_url(url)<EOL>if '<STR_LIT>' in foo:<EOL><INDENT>file_list.append(self._yunguanjia_format(remote_path[i]))<EOL><DEDENT>else:<EOL><INDENT>file_list.append(get_url(entry['<STR_LIT>']))<EOL><DEDENT><DEDENT>return file_list<EOL>
返回目标文件可用的下载地址
        :param remote_path: 每一项代表需要下载的文件路径
        :type remote_path: str list