title: Web scraping from a live score site
body: <p>I'm trying to get data from a live score site.
  I am using node.js with express.js, request.js and cheerio.js to get the HTML from a web page.
  It works for some parts of the HTML, but not the live parts.</p>
  
  <p>I'm trying to scrape data from the web site <a href="http://www.flashresultats.fr/" rel="nofollow noreferrer">http://www.flashresultats.com</a>.
  When I use the Chrome Developer Tools I'm able to see the HTML content, but when I use my JavaScript code, the result is empty.</p>
  
  <p>Here is the Chrome capture of what I am trying to extract:</p>
  
  <p><img src="https://i.stack.imgur.com/LUgl7.png" alt="HTML scrape"></p>
  
  <p>And here is the code I am using:</p>
  
  <pre><code>var express = require('express');
  var fs = require('fs');
  var request = require('request');
  var cheerio = require('cheerio');
  var app = express();
  
  url = 'http://www.flashresultats.fr'
  
  request(url, function(error, response, html){
      if(!error){
          var $ = cheerio.load(html);
          var myvar = $('#g_1_UJzOgxfc').html();
          console.log(myvar);
      }
      else {
          console.log('Error');
      }
  })
  </code></pre>