old_contents: var VkApi = require('node-vkapi');
  
  var vk = new VkApi({
      appId: 0,
      appSecret: 'SECRET',
      userLogin: 'LOGIN',
      userPassword: 'PASSWORD',
      version: '5.71'
  });
  
  var authorizationDate = null;
  var authorizationToken = null;
  
  var millisecondsInSecond = 1000;
  function needsAuthorization() {
      return !authorizationDate || !authorizationToken || 
          authorizationDate + authorizationToken.expires_in * millisecondsInSecond < Date.now();
  }
  
  function authorize() {
      return vk
          .logIn({
              scope: ['market']
          })
          .then(token => {
              authorizationDate = Date.now();
              authorizationToken = token;
          })
  }
  
  function getCommunityItems() {
      return needsAuthorization()
          ? authorize().then(vkMarketGet)
          : vkMarketGet();
  }
  
  function vkMarketGet() {
      return vk.call('market.get', {
          owner_id: -114453626,
          count: 100,
          extended: 1,
          access_token: authorizationToken.access_token
      });
  }
  
  exports.getCommunityItems = getCommunityItems;
  
new_contents: var VkApi = require('node-vkapi');
  
  var vk = new VkApi({
      apiVersion: '5.71',
      appId: 0,
      appSecret: 'SECRET',
      captchaApiKey: 'APIKEY',
      captchaService: 'anti-captcha',
      userLogin: 'LOGIN',
      userPassword: 'PASSWORD'
  });
  
  var authorizationDate = null;
  var authorizationToken = null;
  
  var millisecondsInSecond = 1000;
  function needsAuthorization() {
      return !authorizationDate || !authorizationToken || 
          authorizationDate + authorizationToken.expires_in * millisecondsInSecond < Date.now();
  }
  
  function authorize() {
      return vk
          .logIn({
              scope: ['market']
          })
          .then(token => {
              authorizationDate = Date.now();
              authorizationToken = token;
          })
  }
  
  function getCommunityItems() {
      return needsAuthorization()
          ? authorize().then(vkMarketGet)
          : vkMarketGet();
  }
  
  function vkMarketGet() {
      return vk.call('market.get', {
          owner_id: -114453626,
          count: 100,
          extended: 1,
          access_token: authorizationToken.access_token
      });
  }
  
  exports.getCommunityItems = getCommunityItems;
  
subject: add anti captcha settings