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

raise exception for invalid positions - player_game_log.py #28

Closed mjk2244 closed 1 year ago

mjk2244 commented 1 year ago

get_player_game_log() in player_game_log.py currently only takes players of the following positions: QB, RB, WR, TE. Should raise an exception when anything other than these four positions is input as an arg