<commit_before>// scrapes info from http://bitcoincharts.com/

var express = require('express');
var request = require('request');
var cheerio = require('cheerio');

var app = express();

var metadataArray = [ ];

request('http://bitcoincharts.com/', function(error, response, page){
  if(!error && response.statusCode == 200){
    var $ = cheerio.load(page); // puts the html in the parser
    $('td.right').each(function(i, elements){
      var a=$(this).prev();
      var price = a.text();
      metadataArray.push(price);
    });

  } // end of if statement
}); // end of function



app.get('/', function(req, res){
  res.send(metadataArray);
});

app.listen(3000);
<commit_msg>fixes the price<commit_after>// scrapes info from http://bitcoincharts.com/

var express = require('express');
var request = require('request');
var cheerio = require('cheerio');

var app = express();

var metadataArray = [ ];

request('http://bitcoincharts.com/', function(error, response, page){
  if(!error && response.statusCode == 200){
    var $ = cheerio.load(page); // puts the html in the parser
    $('td.right').each(function(i, elements){
      var a=$(this);
      var price = a.text();
      metadataArray.push(price);
    });

  } // end of if statement
}); // end of function



app.get('/', function(req, res){
  res.send(metadataArray);
});

app.listen(3000);

{'fraction_non_alphanumeric': 0.18589272593681117, 'fraction_numerical': 0.010286554004408524, 'mean_word_length': 3.664383561643836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1596105', 'n_tokens_mistral': 444, 'n_tokens_neox': 421, 'n_words': 110}