WarrierRajeev / UFC-Predictions

A web app to predict UFC fights
https://ufc-predictions.rajeevwarrier.com
116 stars 49 forks source link

Sometime in the first two weeks of Oct 2020 the fight details page ch… #5

Closed gumshoes closed 3 years ago

gumshoes commented 3 years ago

…anged.

http://ufcstats.com/fight-details/0005e00b07cee542

Old totals order: FIGHTER, KD, SIG. STR., SIG. STR. %, TOTAL STR., TD, TD %, SUB. ATT, PASS, REV.

New totals order: FIGHTER, KD, SIG. STR., SIG. STR. %, TOTAL STR., TD, TD %, SUB. ATT, REV., CTRL

Updated the scraping to handle this but the downstream models will also need updating.

Added error handling for values that ufcstats sometimes sets as '---', not sure though if the defaults are correct.

Added missing tqdm dependency.

WarrierRajeev commented 3 years ago

Hey there. I was working on the same and pushed the changes recently only. If you see something is not working or can be improved, raise an issue and comment on it that you are working on it. I'll review your code and merge in that case :))

gumshoes commented 3 years ago

That's great news, thanks.

It seems UFC may be in the process of moving to a new site.

old: http://ufcstats.com/fight-details/c0568b225d5f0fe6 new: https://www.ufc.com/event/ufc-fight-night-september-19-2020#8714

old: http://ufcstats.com/statistics/events/completed new: https://www.ufc.com/events

WarrierRajeev commented 3 years ago

@gumshoes I am not sure if they are. I saw the events page when I started this project also. Anyway, let's see. If they are then we can move to it when it happens :+1: