vishaalagartha / basketball_reference_scraper

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

get_box_scores() doesnt find any tables since yesterday #99

Open my7hai opened 1 year ago

my7hai commented 1 year ago

raw_df = pd.read_html(str(table))[0] .. . . tables = self._parse_tables(self._build_doc(), self.match, self.attrs)

ValueError: No tables found

JJnotJimmyJohn commented 1 year ago

Yeah I have to rewrite get_box_scores to scrape from pages like https://www.basketball-reference.com/boxscores/202301010DEN.html.

my7hai commented 1 year ago

Yeah I have to rewrite get_box_scores to scrape from pages like https://www.basketball-reference.com/boxscores/202301010DEN.html.

will you? ive grown very used to this awesome tool =)

christian-dalton commented 1 year ago

When will this be fixed?

JJnotJimmyJohn commented 1 year ago

When will this be fixed?

I thought it would be fixed by someone else by now. Kind of busy this week so I'll try fixing it next week if not fixed by then.

JJnotJimmyJohn commented 1 year ago

Hey friends! I just submitted a pull request to fix this error. I also developed "ADVANCED" stats mode.

@christian-dalton @my7hai Hopefully it's not too late.