WEBVTT

00:00.650 --> 00:06.110
Now let's set up our project to create our infinite scrolling scraper.

00:06.140 --> 00:12.640
So let's go ahead and make a directory called Infinite Scraper.

00:12.650 --> 00:13.700
I will just call it.

00:13.700 --> 00:15.440
You can call it wherever you want to.

00:15.800 --> 00:25.550
And we go inside of the infinite scraper directory you just created and then we run npm init dash dash

00:25.550 --> 00:29.480
js to initialize the use of npm packages.

00:31.070 --> 00:37.730
And once we got that I will run yarn add pop it here.

00:39.830 --> 00:40.940
And that's it.

00:41.300 --> 00:46.190
Now if you use NPM, you can also use NPM install puppeteer.

00:49.500 --> 00:56.250
And keep in mind, it's a pretty big package, so it can take a little while before it finishes, but

00:56.250 --> 00:57.810
just have some patience.

01:00.040 --> 01:05.410
Now, once that is done, we can load up the project inside of Visual Studio code.

01:13.080 --> 01:14.520
So go open.

01:16.800 --> 01:19.380
And we go to the directory.

01:19.380 --> 01:21.450
We just created infinite scraper.

01:26.160 --> 01:35.340
Once we're inside here, we can start creating our first file index.js and start writing our code.
