Comment on Use Node.js to Extract Data from the WebparentComments−substack13yYou probably meant: var tr = require('trumpet')(); tr.createReadStream('article > span') .pipe(process.stdout); var request = require('request'); request.get('http://www.echojs.com').pipe(tr); Bonus: I just noticed a simple bug in the selector engine from running your intended code that I just fixed in trumpet@1.5.6.
Comments
You probably meant:
Bonus: I just noticed a simple bug in the selector engine from running your intended code that I just fixed in trumpet@1.5.6.