Journal

Continuing the Web-Scraping Article

less than 1 minute read

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

Updated: