Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var client = require('cheerio-httpcli');
var execSync = require('child_process').execSync;
client.fetch('', {}, (err, $, res) => {
$('p').each(function(idx) {
.filter(item => item.type === 'text')
.map(item =>, ''))
.forEach(item => execSync(`say ${item}`));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.