A data-driven approach to hockey scouting.
This repository contains a script for scraping player data from NHL Hut Builder using Puppeteer.
- Node.js (v14.0.0 or later)
- npm (v6.0.0 or later)
- Clone the repository to your local machine:
git clone https://github.com/your-username/your-repository-name.git
cd your-repository-name
- Install the necessary dependencies:
npm install
- Run the Script:
node script.js
The script will launch a browser, navigate to the NHL Hut Builder website, apply the specified filters, iterate through the pages of the table, extract the data, and save it to a CSV file named table-data.csv.