A lightweight node.js web scraper to acquire, and then format the ranked list of runners for events listed in MileSplit.
If you've ever run XC or T&F at a non-professional level, your results were probably posted to MileSplit, the "premier network for track & field and cross country." Essentially, they host all the results of various races and meets throughout the United States and publish them in a navigable format with specific meet results, results by athlete, results by event, and so on, available. Unfortunately, a good deal of use of MileSplit requires a paid subscription to MileSplit.
This scraper aims to provide a similarily readable ranked list of athletes by gender/region/event without a subscription to MileSplit. These lists ican be helpful when determining advancement to future meets or if you're just curious!
- Download and install node
- Either download or clone the repository
cd
into the downloaded/extracted folder- Run
npm install
- Edit the URL of the rank list you'd like to scrape and gain access to
- Run
node gatherBasicInfo.js
followed bynode getTimesAndNames.js
- The times are now viewable. Open
output/output.html
in your preferred web browser.
To save your results, copy the contents of the output folder to an external destination (e.g. your documents file). Running the program again with a different rank list URL will overwrite the existing output.