This project demonstrates how to scrape data from a Trustpilot company page using Node.js and Puppeteer. It serves as a short exercise to showcase the scraping process.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/EvaLa94/trustpilot-scraping
- Navigate to the project directory:
cd trustpilot-scraper
- Install the required dependencies:
npm install
- Run the scraper:
node index.js
Make sure to enter the URL of the Trustpilot company webpage you want to scrape when prompted.
- After the scraping process has finished, a csv file containing the trustpilot reviews will be generated.