You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the cleanest way to do the up/down arrows to look back at the rankings before the most recent game? Then they'd be relevant for a few days, rather than just "yesterday's rankings".
So you'd have to:
look at one of the sites to find the most recent completed game
search the previous rankings for one that matches the day before that game
math the differences between each ranking ... if it was calculated that time
store the values in an array
draw the arrow and "+/-5" based on the result if it's in the array
A simpler way to do it would be to say "last 7 days" or "last 4 days" or some approximation of "most recent game" without having to actually find that game. "T-4 days" would be a lot easier to compile.
The updates.json file is now recording all of the scrapes.
The text was updated successfully, but these errors were encountered: