<commit_before>var webshot = require('screenshot-stream');

var api = module.exports = {};

api.getCaptureStream = function getCaptureStream (url, size, options) {
  size = size || '1600x1200';
  options = options || {
    crop: true,
    delay: process.env.DELAY || 5,
    userAgent: process.env.userAgent || 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36'
  };
  return webshot(url, size, options);
};<commit_msg>Default to 10 second delay<commit_after>var webshot = require('screenshot-stream');

var api = module.exports = {};

api.getCaptureStream = function getCaptureStream (url, size, options) {
  size = size || '1600x1200';
  options = options || {
    crop: true,
    delay: process.env.DELAY || 10,
    userAgent: process.env.userAgent || 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36'
  };
  return webshot(url, size, options);
};
{'fraction_non_alphanumeric': 0.1465863453815261, 'fraction_numerical': 0.07530120481927711, 'mean_word_length': 4.16580310880829, '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': '4061875', 'n_tokens_mistral': 394, 'n_tokens_neox': 346, 'n_words': 86}