This repository just shows how to scrape Google using X-Ray, for a proof-of-concept example. You should keep in mind the terms of service the sites you are scraping, as it may be against their rules.
Just run npm install
and then node index.js
to run the example code.
You can find a more detailed explanation on my blog: http://vaughanhilts.me/blog/2016/06/04/scraping-the-web-with-xray-under-nodejs-a-google-example.html