Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gabrielcstr/dota2protracker-scraper
- Owner: GabrielCSTR
- Created: 2024-06-18T19:59:57.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-22T16:25:51.000Z (5 months ago)
- Last Synced: 2024-10-17T22:27:41.971Z (29 days ago)
- Topics: d2pt, dota2, dota2protracker, javascript, puppeteer, scraper
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!