Sqbs-scraper is a Node.js CLI for transforming quizbowl stats data from SQBS reports hosted on hsquizbowl.org into readable .json files.
After cloning the repo, cd to root folder and execute:
npm installExecute the following command:
npm installFor a list of available commands.
Usage: sqbs-scraper [options] [command]
Tool for scraping sqbs stats off hsquizbowl.org
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
scrapeSearchResults|s [options] <searchTerm> <firstPage> <pageCount> <outputFile> Scrape hsquizbowl.org search results
parseTournamentPage|p <tournamentId> <outputFile> Parse tournament of specified id (find in url)Help details for scrapeSearchResults:
Usage: scrapeSearchResults|s [options] <searchTerm> <firstPage> <pageCount> <outputFile>
Scrape hsquizbowl.org search results
Options:
-h, --includeHighSchool Include high school tournaments
-c, --includeCollege Include found college tournaments
-m, --includeMiddleSchool Include found middle school tournaments
-o, --includeOpen Include found open tournaments
-t, --includeTrash Include found trash tournaments
-a, --includeAll Include all found tournaments
-h, --help output usage informationUsage: parseTournamentPage|p [options] <tournamentId> <outputFile>
Parse tournament of specified id (find in url)
Options:
-h, --help output usage information