This is a simple Python script that scrapes the HackerRank contest leaderboard data and saves it to a CSV file using Nodejs and Puppeteer.
- Install Nodejs
- Install Yarn using command
npm install -g yarn
in terminal or cmd after installing Nodejs
- Download This Repositoryas zip
- Extract the zip file
- Open teminal or cmd under this folder
- Run command
yarn
to install dependencies - Run command
yarn start
to start the server - Open browser and go to
http://localhost:8000/
- After opening the url in browser
- Enter the contest leaderboard url in the input box
- Click on the button
Scrap
- Wait for the automation to complete
- Click on the button
Download File
to download the CSV file