joeyagreco / leeger

Instant stats for any fantasy football league.
https://pypi.org/project/leeger
MIT License
57 stars 17 forks source link

[LEAGUE LOADER]: Dealing with changed ownership #114

Open drmiller86 opened 9 months ago

drmiller86 commented 9 months ago

League Loader

ESPN

Summary

When trying to load multiple seasons of a given league an exception error is raised for _getOwnerByName in LeagueLoader if a different owner is identified for a given team slot. Is there a workaround to allow analysis of leagues with ownership changes? I dont want to merge changed owners, I would like to keep them separate for statistical purposes.

League Info

No response

Error Logs

No response

joeyagreco commented 9 months ago

Currently there is not a way to load a league with different owners unless you merge them.

Behind the scenes for calculating stats accurately with this change it's a lot more work than I had anticipated and an update will be out at some point to add this functionality.