Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielcstr/dota2protracker-scraper

Scraping meta heroes from dota2protracker.com
https://github.com/gabrielcstr/dota2protracker-scraper

d2pt dota2 dota2protracker javascript puppeteer scraper

Last synced: 11 days ago
JSON representation

Scraping meta heroes from dota2protracker.com

Awesome Lists containing this project

README

        

# Dota2Protracker Scraper Meta Heroes

## 📃 About

Scrapes Dota meta heroes from dota2protracker.com using _`puppeteer`_

## Usage

```sh
# 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](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://buymeacoffee.com/gabriel.dev/)

## 👷‍♂️ Creator

[![Contributors](https://contrib.rocks/image?repo=GabrielCSTR/dota2protracker-scraper)](https://github.com/GabrielCSTR)

[![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=flat-square&logo=Twitter&logoColor=white)](https://twitter.com/gbrl_str) [![Twitch](https://img.shields.io/badge/Twitch-%239146FF.svg?style=flat-square&logo=Twitch&logoColor=white)](https://twitch.tv/xstrdoto)

Made with 💖 and JavaScript!