title: Scrape webpage vs NodeJS
body: <p>trying to scrape hotel names from this web page:
  <a href="http://www.booking.com/searchresults.ru.html?dcid=1&amp;flash_deals=1" rel="nofollow">http://www.booking.com/searchresults.ru.html?dcid=1&amp;flash_deals=1</a></p>
  
  <p>This is my code:</p>
  
  <pre><code>var request = require('request'),
      cheerio = require('cheerio'),
      fs = require('fs'),
      urls = [];
  
  request('http://www.booking.com/searchresults.ru.html?dcid=1&amp;flash_deals=1', function(err, res, body) {
      if(!err &amp;&amp; res.statusCode == 200) {
          var $ = cheerio.load(body);
          $('a.hotelname base', '#dealsfound_inner').each(function(){
              var url = this.text();
              urls.push(url);
          });
  
          console.log(urls);
      }
  });
  </code></pre>
  
  <p>Console returns empty array. What i'm doing wrong?</p>