<commit_before>const YouTube = require('simple-youtube-api');
const youtube = new YouTube('  Y  o  u  r     A  p  i     K  e  y  ');

youtube.videoById('https://www.youtube.com/watch?v=3odIdmuFfEY')
    .then(video => {
        console.log(`The video's title is ${video[0].title}`);
    })
    .catch(console.log);<commit_msg>Update video.js example (#41)<commit_after>const YouTube = require('simple-youtube-api');
const youtube = new YouTube('  Y  o  u  r     A  p  i     K  e  y  ');

youtube.getVideo('https://www.youtube.com/watch?v=3odIdmuFfEY')
    .then(video => {
        console.log(`The video's title is ${video.title}`);
    })
    .catch(console.log);
{'fraction_non_alphanumeric': 0.1686746987951807, 'fraction_numerical': 0.007530120481927711, 'mean_word_length': 2.9820359281437128, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2833828', 'n_tokens_mistral': 244, 'n_tokens_neox': 236, 'n_words': 52}