Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As referenced in #278 (and duplicate issue #466), the 2018 season of fantasy football was getting an "Access Denied" error when attempting to access data. As documented in the troubleshooting steps I made in #278, I found that JSON key values for that year were returning an overarching [0] key that is not present in other years. Edits to the following files were made to account for the changes:
These changes ensure that the JSON [0] key is handled appropriately for 2018 league data pulls.
Please let me know if there is any other testing you'd like completed. I only tested this with my fantasy football league (years 2013-2021) and had no errors. I don't have any other sports to test with but didn't see any obvious issues with other sports based on my changes in reviewing the code.