/web-scraper-youtube

Node and Python scraping scripts

Primary LanguageJavaScript

Web Scrapers

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.

Node.js & Puppeteer Usage

Install dependencies

cd web-scraper-node
npm install

Run the file

node scrape

Python & BS4 Usage

Install dependencies

cd web-scraper-python
pip install -r requirements.txt

Run the file

python scrape.py