roclark / sportsipy

A free sports API written for python
MIT License
475 stars 189 forks source link

Teams data not found for all sports #773

Closed mattpfreer closed 1 year ago

mattpfreer commented 1 year ago

Has anyone else encountered this issue since today / know how to fix? Everything worked yesterday

DESCRIPTION: No data is found across all sports when calling Team and Teams for the current year

CODE: from sportsipy.nhl.teams import Teams teams = Teams('2023')

ERROR: The requested page returned a valid response, but no data could be found. Has the season begun, and is the data available on www.sports-reference.com?

mattpfreer commented 1 year ago

To clarify, I am having this issue with NHL, NBA, NCAAB, NFL and NCAAF

mattpfreer commented 1 year ago

Figured it out. The issue occurs when you upgrade the version for pyquery from 1.4.3 to 2.0.0, so would make sure it is 1.4.3