WEBVTT

00:01.730 --> 00:05.980
First thing you need to do is you need to make an empty folder.

00:05.990 --> 00:08.990
I called my folder Airbnb scraper.

00:09.710 --> 00:17.900
So inside this empty folder that I open inside of Visual Studio code, I'm going to go inside the terminal

00:17.900 --> 00:20.240
and write npm init.

00:20.270 --> 00:20.750
Dash.

00:20.750 --> 00:21.110
Dash.

00:21.110 --> 00:21.770
Yes.

00:24.830 --> 00:27.180
Then we're going to add two packages.

00:27.200 --> 00:32.090
We're going to add Cerio and Puppeteer.

00:34.610 --> 00:35.600
Like so.

00:40.870 --> 00:48.010
Now puppeteer can be quite big package to get because it's actually downloading the most recent version

00:48.010 --> 00:49.420
of chromium.

00:49.780 --> 00:55.870
So but it's guaranteed to work with this API inside of puppeteer.

00:56.630 --> 00:59.210
So it looks like it failed to download chromium.

00:59.210 --> 01:03.710
So I'm just going to try again and see if it's not timing out this time.

01:07.160 --> 01:14.030
Okay, so now it downloaded the chromium browser inside Puppeteer and we can start writing the program.
