Exceptions¶
- exception ScraperFC.scraperfc_exceptions.ClubEloInvalidTeamException(team: str)¶
Bases:
ExceptionRaised when an invalid team is used in the ClubElo module.
- exception ScraperFC.scraperfc_exceptions.FBrefRateLimitException¶
Bases:
ExceptionRaised when FBref returns HTTP status 429, rate limit request
- exception ScraperFC.scraperfc_exceptions.InvalidCurrencyException¶
Bases:
ExceptionRaised when an invalid currency is used with the Capology module.
- exception ScraperFC.scraperfc_exceptions.InvalidLeagueException(league: str, module: str, valid_leagues: Sequence)¶
Bases:
ExceptionRaised when a league is not valid for a given scraping module.
- exception ScraperFC.scraperfc_exceptions.InvalidYearException(year: int | str, league: str, valid_years: Sequence)¶
Bases:
ExceptionRaised when an invalid year is found
- exception ScraperFC.scraperfc_exceptions.NoMatchLinksException(year: int | str, league: str, fixtures_url: str)¶
Bases:
ExceptionRaised when no match links are found