Plugin for goldwasher to add needle for easy HTTP requests.
Plugin for goldwasher to add needle for easy HTTP requests. Uses retry for robustness. Requires goldwasher to work. If you want to run this as a web server/service, have a look at the module hapi-goldwasher.
npm install goldwasher-needle
Options can be optionally passed in as the second parameter, as an object with a property
goldwasher for goldwasher options, a property
needle for needle options and a property
retry for retry options. For instance:
var options =goldwasher:selector: 'h1'needle:follow_max: 20read_timeout: 30000retry:retries: 3
var gn = ;;
var gn = ;var url = '';var options =goldwasher:selector: 'h1, h2, h3, h4, h5, h6, p';;