'Usage: search <keyword> [remotepath] [recursive] - search for a file using keyword at Baidu Yun
keyword - the keyword to search
remotepath - remote path at Baidu Yun, if not specified, it\'s app\'s root directory
resursive - search recursively or not. default is true'

def search(self, keyword, remotepath=None, recursive=True):

    rpath = get_pcs_path(remotepath)
    pars = {u'method': u'search', u'path': rpath, u'wd': keyword, u're': (u'1' if str2bool(recursive) else u'0')}
    self.pd(u"Searching:    '{}'".format(rpath))
    return self.__get((pcsurl + u'file'), pars, self.__search_act)
