<commit_before>var casper = require('casper')
  , secret = require('./secret')

casper.create()

var siteA  = require('./resources/crawl-site-a')(casper, secret)
<commit_msg>Added userAgent, logging, and disabled loading images<commit_after>var casper = require('casper').create({
    verbose: true
  , logLevel: 'error'
  , userAgent: 'Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1667.0 Safari/537.36'
  , pageSettings: {
      loadImages: false
    } 
  })

  , secret = require('./secret')
  , siteA  = require('./resources/crawl-site-a')(casper, secret)

siteA.crawl()


casper.run()
{'fraction_non_alphanumeric': 0.16850393700787403, 'fraction_numerical': 0.04094488188976378, 'mean_word_length': 4.0078740157480315, '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': '7092513', 'n_tokens_mistral': 247, 'n_tokens_neox': 225, 'n_words': 46}