dota2-ti10-schedule-scraper
v1.0.1
Published
A puppeteer based web scraper for Dota2 TI-10 event schedule
Downloads
4
Maintainers
Readme
dota2-ti10-schedule-scraper
A puppeteer based web scraper for dota2 event schedule
Usage
npm install -g dota2-ti10-schedule-scraper
#Options:
# -o --output-dir <output-dir> Output directory path
# 1. [SCRAPE] Fetch event schedules
dota2-ti10-scraper --output-dir=<output-dir>
# e.g. dota2-ti10-scraper --output-dir=./schedules
# NOTE:
# 1. JSON files will be written in specified {output-dir} with the name 'dota2-ti10-schedule.json'
# 2. ICAL files will be written in specified {output-dir} with the name 'dota2-ti10-schedule.ical'
Tip: You can also use this utility without installing the package
# Fetch event schedules
npx dota2-ti10-schedule-scraper --output-dir=<output-dir>
Disclaimer:
- This tool uses puppeteer to load web pages from dota2.com to scrape schedule data.
- Make sure to sensibly use this tool if used in automation, and not overwhelm the web servers.
- YOU (user) will be completely responsible for usage of this tool. The developer CAN'T be blamed for the abuse of this tool.