getPage() performs the remote request and gets the HTML page as a string. Its output will be passed to parsePage() that retrieves
the relevant data using jQuery-like selectors, methods and functions provided by the cheerio package. This approach quite resembles the
operations you can run with PHP using either the DOM and the SimpleXML extensions combined together.

savePage() simply creates a JavaScript file with an array of objects containing the relevant information gathered. Finally, we run our code: