Hey, fellow devs 👋
In this tutorial, I will be showing you guys how to scrape the latest Tesla stock prices using Node.js and puppeteer.
Let’s get started!
First of all, you will need to install the puppeteer using
npm i puppeteer
. Now if you don’t havenpm
,package.json
, andnode_modules setup
,here’s a great tutorial
After you’ve installed puppeteer, create a new javascript file and require puppeteer on the first line:
const puppeteer = require('puppeteer');
#nodejs #javascript #programming #puppeteer