Scrapes Dota meta heroes from dota2protracker.com using puppeteer
# clone the repo
git clone https://github.com/GabrielCSTR/dota2protracker-scraper.git
# change working dir
cd dota2protracker-scraper
# install dependencies
npm install
# run the code, and the result JSON will be emitted
npm run start
# return new file json
heroes_data.json
Example:
All: [
{
name: 'Enigma',
matches: '1891',
winRate: '0.573',
winRate9500: '0.589',
contestRate: '0.19517005610098176',
rating: '3732',
radiantWinRate: '0.587',
direWinRate: '0.559',
expertWinRate: '0.613',
phase1WinRate: '0.562',
phase2WinRate: '0.574',
phase3WinRate: '0.577'
},
],
Carry: [
{
name: 'pos 1',
matches: 'Chaos Knight',
winRate: '4152',
winRate9500: '0.538',
contestRate: '0.536',
rating: '0.4373685133239832',
radiantWinRate: '3675',
direWinRate: '0.562',
expertWinRate: '0.513',
phase1WinRate: '0.625',
phase2WinRate: '0.528',
phase3WinRate: '0.542',
networth: '0.525'
}
],
...
Enjoy 💛
-
nodejs
-
puppeteer
-
puppeteer-extra
-
puppeteer-extra-plugin-stealth
Not required but if you want... then by all means gib me ur cash please 💰 🔫
Made with 💖 and JavaScript!