You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@probberechts On the implementation for this, I am thinking to implement a function like fbref.read_player_club_history(player_id) with using player_id like '507c7bdf' (https://fbref.com/en/players/507c7bdf/ links to Bruno Fernandes). Would this be a good approach?
Or do you think it is better to have more abstractions like fbref_player classes which can then have multiple functions for scraping for the various information on the player page , none of which are supported right now.
The issue here is that the FBref class should be initialized with a league and season. All functions in that class than only return data for the given league and season. This is not desirable when you scrape a player's club history. Therefore, I think a better solution would be to add a FBrefPlayer class.
Retrieving more information about a specific player like club history would be nice!
The text was updated successfully, but these errors were encountered: