BruceJohnJennerLawso / scrap

Hockey stats analysis done by scraping the data to a csv file, then processing/analyzing them with more python.
3 stars 0 forks source link

Rewrite the IML Selenium scripts to go through the new authentication process #133

Open BruceJohnJennerLawso opened 7 years ago

BruceJohnJennerLawso commented 7 years ago

The old login at

nike.uwaterloo.ca/Login.aspx?soi=IM&ref=Intramurals

is now redirecting to the new umbrella site for uwaterloo athletics at

warrior.uwaterloo.ca/

with a slightly different (thankfully reasonably simple) login process that the scraper will need to work through.

Roughly the new sequence will be

warrior.uwaterloo.ca/Account/Login?returnUrl=%2F

input login credentials & hit the login button

goes to

warrior.uwaterloo.ca

click on Intramurals, then Intramurals again in the dynamic menu (might be the only really tricky part right there)

Redirects to

https://warrior.uwaterloo.ca/IMLeague (maybe just see if jumping here directly works after authentication)

click on the button to go to IML

And everything should work like usual from there