scrape.js is a node script. You'll need to install the relevant dependencies which are: npm install jsdom request