Now let's set up our project to create our infinite scrolling scraper.
So let's go ahead and make a directory called Infinite Scraper.
I will just call it.
You can call it wherever you want to.
And we go inside of the infinite scraper directory you just created and then we run npm init dash dash
js to initialize the use of npm packages.
And once we got that I will run yarn add pop it here.
And that's it.
Now if you use NPM, you can also use NPM install puppeteer.
And keep in mind, it's a pretty big package, so it can take a little while before it finishes, but
just have some patience.
Now, once that is done, we can load up the project inside of Visual Studio code.
So go open.
And we go to the directory.
We just created infinite scraper.
Once we're inside here, we can start creating our first file index.js and start writing our code.