This is the code from my web scraping guide on youtube. It includes two scrapers. One with Node.js and Puppeteer and one with Python and Beautiful Soup.
We scrape the website https://books.toscrape.com/ but you can change the code to scrape something else.
Install dependencies
cd web-scraper-node
npm install
Run the file
node scrape
Install dependencies
cd web-scraper-python
pip install -r requirements.txt
Run the file
python scrape.py