code: function(token, lang, params){
  
      var scope = this;
  
      // get language
      lang = utils.getOpenSubtitlesLanguage(lang);
  
      return utils._getSearchPostData(token, lang, params)
      .then(function(postData){
          return utils.request(API_URL, postData);
      })
      .then(function(response){
  
          try{
              results = utils.parseXmlSearchResult(response);
          }catch(e){
              results = [];
          }
  
          //scope.emit.call(scope, "search", results);
  
          return results;
  
      });
  }
docs: /*
  
  Generic method to search for subtitles.
  
  @param {String} token
  @param {String} lang
  @param {Object} params
  
  @return {Promise}