Add 15-min interval URLs and legacy fallback#3
Add 15-min interval URLs and legacy fallback#3Relenes510 wants to merge 1 commit intomxufc29:mainfrom
Conversation
|
I was running the package today and I identified that the NBA has started using a new format as of 12/22/2025 "https://ak-static.cms.nba.com/referee/injury/Injury-Report_2025-12-22_02_00PM.pdf" where as before it wouldnt have added the "_00" part of the file name. This change is just a suggestion to where it allows users to be able to query older injury reports while being able to obtain information from the newer ones! |
|
Thanks for flagging this. Yes per some recent instituted policy changes at the league office in wake of the betting scandals, appears that injury reports will now be updated more frequently at 15 minute intervals. Will do a bit of refactoring to account for both this format and the previous legacy format under the hood, similar to your approach. |
|
@Relenes510 To validate my own observation, what specific report (date/time) did you note the legacy->new format conversion? |
|
That makes sense to why they increased the intervals of injury reports. I noticed on that day 12/22/2025 my own github actions pipeline failed: "URLRetrievalError: Failed to access the source file at https://ak-static.cms.nba.com/referee/injury/Injury-Report_2025-12-22_11AM.pdf: 403 Client Error: Forbidden for url: https://ak-static.cms.nba.com/referee/injury/Injury-Report_2025-12-22_11AM.pdf" After some digging with the official injury reports website, I noticed the file name had a difference in where it began to include 15 min intervals including "_00PM" to where the older reports did not have. Feel free to ask more questions as I am more than happy to share anymore information you need. |
|
Closing, issue resolved and superseded by #5. |
No description provided.