WEBVTT

00:00.230 --> 00:01.220
All right, everyone.

00:01.220 --> 00:06.080
I quite often see someone asking how to scrape data from a table.

00:06.080 --> 00:13.070
So in this section, I'm going to show you how to scrape data from a table with NodeJS request and cheerio.

00:13.430 --> 00:18.230
So right here we have this example of a table that I just made.

00:18.260 --> 00:22.520
We just have some company names, a contact name and a country.

00:22.520 --> 00:26.210
So three columns with five rows.

00:26.480 --> 00:27.170
Okay.

00:27.170 --> 00:35.240
So we're going to see how to scrape all of this data and get it into a data structure that we can easily

00:35.240 --> 00:37.220
use inside of JavaScript.

00:37.670 --> 00:46.460
So let's go on first and talk about just how tables are made in HTML basically, so that you understand

00:46.460 --> 00:49.940
the HTML structure of what you are scraping.

00:49.940 --> 00:56.150
And then we're going to move on to scraping the data inside Chrome tools, finding out how to make a

00:56.150 --> 01:00.390
selector, and then how to scrape the data inside NodeJS.
