mjk2244 / pro-football-reference-web-scraper

Web scraper to retrieve player and team data from Pro Football Reference.
https://mjk2244.github.io/pro-football-reference-web-scraper/
Apache License 2.0
28 stars 19 forks source link

incorrect/misspelled team name - team_game_log.py #29

Closed mjk2244 closed 1 year ago

mjk2244 commented 1 year ago

Some teams have changed names over time (e.g. the Houston Oilers became the Tennessee Oilers and then the Tennessee Titans). Users may not be aware of these changes and may call get_team_game_log() with a mismatching team name/year pairing. Users may also simply misspell a team's name. Raise an exception when either of these things happen