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 future NFL boxscores #529

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Conversation

roclark
Copy link
Owner

@roclark roclark commented Nov 13, 2020

For NFL games that are scheduled but have not yet taken place, the code would take the preview link for the game and treat it as the Boxscore link, causing errors to be thrown while attempt to pull Boxscore data from the preview which doesn't have the intended information.

Fixes #531

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

@roclark roclark added the bug Something isn't working label Nov 13, 2020
@roclark roclark added this to the Release 0.6.0 milestone Nov 13, 2020
@roclark roclark self-assigned this Nov 13, 2020
@codecov
Copy link

codecov bot commented Nov 13, 2020

Codecov Report

Merging #529 (7c6d18f) into master (9b6039f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #529   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files          55       55           
  Lines       13168    13259   +91     
=======================================
+ Hits        13165    13256   +91     
  Misses          3        3           
Impacted Files Coverage Δ
sportsreference/nfl/boxscore.py 99.83% <100.00%> (+<0.01%) ⬆️
sportsreference/fb/team.py 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b6039f...7c6d18f. Read the comment docs.

For NFL games that are scheduled but have not yet taken place, the code
would take the preview link for the game and treat it as the Boxscore
link, causing errors to be thrown while attempt to pull Boxscore data
from the preview which doesn't have the intended information.

Signed-Off-By: Robert Clark <robdclark@outlook.com>
@roclark roclark merged commit 47a9ecb into master Nov 13, 2020
@roclark roclark deleted the fix-nfl-boxscore-pulling branch November 13, 2020 17:12
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.

Issue pulling boxscores for unplayed NFL games
1 participant