Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue pulling broken NCAAB player pages #182

Merged
merged 1 commit into from
Sep 2, 2019

Conversation

roclark
Copy link
Owner

@roclark roclark commented Sep 2, 2019

A few links to player pages on www.sports-reference.com are broken which causes errors to be thrown by the LXML parser while attempting to pull them. Since a ParserError is thrown by LXML, we can catch the error and return None to safely continue with execution.

Fixes #115

Signed-Off-By: Robert Clark robdclark@outlook.com

A few links to player pages on www.sports-reference.com are broken which
causes errors to be thrown by the LXML parser while attempting to pull
them. Since a ParserError is thrown by LXML, we can catch the error and
return None to safely continue with execution.

Signed-Off-By: Robert Clark <robdclark@outlook.com>
@roclark roclark added the bug Something isn't working label Sep 2, 2019
@roclark roclark added this to the Release 0.4.4 milestone Sep 2, 2019
@roclark roclark self-assigned this Sep 2, 2019
@roclark roclark merged commit 49228d7 into master Sep 2, 2019
@roclark roclark deleted the patch/fix-ncaab-roster-incomplete branch September 2, 2019 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Team Roster Errors for Certain NCAAB Teams in Recent Seasons
1 participant