-
Notifications
You must be signed in to change notification settings - Fork 3
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
CUSession.GPA() no longer works #10
Comments
I don't think we need to use I think we can craft our own response here, following the format of the one they make when switching terms. This a bit convoluted so bear with me... 🙃 We can get the <input
...
class="PSRADIOBUTTON"
id="SSR_DUMMY_RECV1$sels$4$$0"
value="4"> Following the request (using Chrome's network tab) they make when you click the 'continue' button, we can see a few important details: request headers
form data
So once we grab the
with one of the form
Hopefully this helps a little! @AparaV @719ben let me know what you guys think, maybe I can put together a fix for it next week if this seems like it'll work |
@mguida22 I think this fix will definitely work. Thanks for the quick reply! |
@AparaV just as a general rule for this repo, nothing should be done using anything other than |
@719ben got it! It didn't strike me to track down the HTTP request earlier, which was why I suggested using |
Because of some very recent changes to myCUinfo system, this line attempts to convert some non-numeric characters to float. And the program breaks there.
I did some checking and this is what the webpage looks like now (5/26/2017):
And this is the source code for the radio buttons and the continue button (click to expand):
These actions are clearly JavaScript driven. Since (correct me if I'm wrong about this)
requests
cannot carry out JavaScript commands, it looks like we need to look at another package likeselenium
to do this for us.Here is the website for quick access (you might need to login)
What do you think should be done?
The text was updated successfully, but these errors were encountered: