vishaalagartha / basketball_reference_scraper

A python module for scraping static and dynamic content from Basketball Reference.
MIT License
254 stars 91 forks source link

[FIX] fix the get_box_scores "no table found" error #106

Closed JJnotJimmyJohn closed 1 year ago

JJnotJimmyJohn commented 1 year ago

BUG:BBR widgets are retired, causing get_box_scores stop working.

FIX: Now it pulls directly from web instead of widgets. It also uses query selector to get tables.

NEW: added stat_type='ADVANCED'; also added doc strings.

JJnotJimmyJohn commented 1 year ago

Fixing issue "no table found" #99

vishaalagartha commented 1 year ago

Looks good! Thanks for the fix!