Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.11 KB

Requirements

  1. Download and Install NodeJS. npm package manager is automatically downloaded

  2. Axios is a "Promise based HTTP client for the browser and node.js."

$ npm install axios
  1. Cheerio is used here to implement jQuery methods in order to 'walk through' different elements of the rendered HTML document.
$ npm install cheerio
  1. fs library piped the contents to future_learn_courses.json

Check out scraper.js for how the above libraries were initially used

Course Structure

Example course:

"college": "Raspberry Pi Foundation & National Centre for Computing Education",
"title": "Introduction to Cybersecurity for Teachers",
"description": "Explore key concepts of cybersecurity to teach 14-16 year-old students with this online cybersecurity course supported by Google.",
"weeks": "3 weeks",
"hours": "2 hrs/week"