Skip to content

GabrielCSTR/dota2protracker-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dota2Protracker Scraper Meta Heroes

📃 About

Scrapes Dota meta heroes from dota2protracker.com using puppeteer

Usage

# 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 💛

Technologies

  • nodejs

  • puppeteer

  • puppeteer-extra

  • puppeteer-extra-plugin-stealth

💰 Support

Not required but if you want... then by all means gib me ur cash please 💰 🔫

BuyMeACoffee

👷‍♂️ Creator

Contributors

Twitter Twitch

Made with 💖 and JavaScript!

Releases

No releases published

Packages

No packages published