Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.83 KB

README.md

File metadata and controls

51 lines (37 loc) · 2.83 KB

Project logo

ESPN CBB 247 Recruits

GitHub Downloads (all assets, all releases) GitHub stars GitHub Issues

Getting StartedLimitations


A simple browser script for passionate CBB fans to access 247Sports HS recruiting info effortlessly!

Like what you see? Please consider giving ESPN CBB 247 Recruits a GitHub star ⭐, it will help a lot!

Getting Started

Installation

You can install the script as a Userscript in all popular browsers. In the future, there may be other installation methods, such as browser extensions.

Userscript

  1. Install a Userscript Manager of your choice, such as Tampermonkey.
  2. Install ESPN CBB 247 Recruits by clicking here.
  3. Done! Browse a CBB player's ESPN page and view their HS recruit ranking.

example

Limitations

Recruiting information is retrieved by scraping 247Sports annual composite recruit rankings, however, this comes with some known limitations.

  • For efficiency in searching for a recruit's name in the rankings, I'm only looking through the first 5 pages(top 250 recruits). If you want to change this, replace the maxPage constant with a value of your choosing.

    • There's a max of ~10 pages with 50 recruits per page
      const maxPage = 5;
  • Inconsistencies in the player's name on ESPN and 247Sports may lead to the script not finding the player's ranking. Many differences are accounted for, such as 'John Doe Jr' vs 'John Doe' or 'A.J.' vs 'AJ', which still lead to matches, but there are still rare exceptions where matching fails.

License

This project is licensed under the MIT License - see the LICENSE file for details.