https://github.com/asecco/espn-cbb-247-recruits
A simple browser script for passionate CBB fans to access 247Sports HS recruiting info effortlessly!
https://github.com/asecco/espn-cbb-247-recruits
247sports college-basketball espn tampermonkey userscript web-scraping
Last synced: 3 months ago
JSON representation
A simple browser script for passionate CBB fans to access 247Sports HS recruiting info effortlessly!
- Host: GitHub
- URL: https://github.com/asecco/espn-cbb-247-recruits
- Owner: asecco
- License: mit
- Created: 2024-04-28T08:16:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-20T04:16:14.000Z (6 months ago)
- Last Synced: 2025-02-12T19:04:01.975Z (4 months ago)
- Topics: 247sports, college-basketball, espn, tampermonkey, userscript, web-scraping
- Language: JavaScript
- Homepage:
- Size: 73.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ESPN CBB 247 Recruits
[](https://github.com/asecco/espn-cbb-247-recruits/releases/latest)
[](https://github.com/asecco/espn-cbb-247-recruits/stargazers)
[](https://github.com/asecco/espn-cbb-247-recruits/issues)---
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](https://en.wikipedia.org/wiki/Userscript)** in all popular browsers. In the future, there may be other installation methods, such as browser extensions.#### Userscript
1. Install a [Userscript Manager](https://en.wikipedia.org/wiki/Userscript_manager) of your choice, such as [Tampermonkey](https://www.tampermonkey.net/).
2. Install **ESPN CBB 247 Recruits** by clicking **[here](https://github.com/asecco/espn-cbb-247-recruits/releases/latest/download/espn-cbb-247-recruits.user.js)**.
3. Done! Browse a CBB player's ESPN page and view their HS recruit ranking.
## 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.
```js
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.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.