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!
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.
- Install a Userscript Manager of your choice, such as Tampermonkey.
- Install ESPN CBB 247 Recruits by clicking here.
- Done! Browse a CBB player's ESPN page and view their HS recruit ranking.
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;
- There's a max of ~10 pages with 50 recruits per page
-
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.
This project is licensed under the MIT License - see the LICENSE file for details.