<commit_before>var request = require('request');
var cheerio = require('cheerio');
var searchTerm = '<PASSWORD>';
//var url = 'http://www.bing.com/search?q=' + searchTerm;
var url = "https://medium.com/"
request(url, function(err, resp, body){
  $ = cheerio.load(body);
  links = $('a'); //jquery get all hyperlinks
  $(links).each(function(i, link){
    console.log($(link).text() + ':\n  ' + $(link).attr('href'));
  });
});<commit_msg>added max pool sockets to request<commit_after>var request = require('request');
var cheerio = require('cheerio');
var searchTerm = '<PASSWORD>';
//var url = 'http://www.bing.com/search?q=' + searchTerm;
var url = "https://medium.com/"
request({'url':url, 'method':'GET', 'pool.maxSockets': 5}, function(err, resp, body){
  $ = cheerio.load(body);
  links = $('a'); //jquery get all hyperlinks
  $(links).each(function(i, link){
    console.log($(link).text() + ':\n  ' + $(link).attr('href'));
  });
});
{'fraction_non_alphanumeric': 0.23991507430997877, 'fraction_numerical': 0.0010615711252653928, 'mean_word_length': 4.75, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '991443', 'n_tokens_mistral': 324, 'n_tokens_neox': 318, 'n_words': 72}