Starting the Web-Scraping Article
I haven’t figured out how to properly place articles on this Jekyll site but I want to start writing an article nevertheless. I might as well use these journal posts to start writing the article so here is the first bit ..
Scraping the Current Bitcoin Price using Javascript with Cheerio
Introduction This article will take you step-by-step through scraping the bitcoin price using Javascript on node.js and a clever HTTP-processing module called Cheerio. If you haven’t yet installed node or Cheerio please see the links at the end of the article for details on how to do that.
… body of artcle …
Installing Node.js and Cheerio
Node is runtime environment that allows you to execute Javascript code. It is based on the Javascript engine from the Google Chrome browser. Installation instructions can be found here
You can test your installation by running
node -v
which will display the version of node that has been installed. Node also comes with its own package manager, npm. Check which version of this has been installed by running
npm -v
Cheerio is a Node module for handling HTTP requests and responses. You will npm to install it as described here