dota2-ti10-schedule-scraper

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i dota2-ti10-schedule-scraper

Weekly Downloads

2

Version

1.0.1

License

GPL-3.0-or-later

Unpacked Size

47.4 kB

Total Files

5

Last publish

Collaborators

  • paulbennetjoshua