Open envp opened 7 years ago
Regarding evaluations, probably should start looking at https://evaluations.ufl.edu/results/. Tried looking at the page source of a single evaluation, seems some Javascript magic is going on usually towards the end? CRTL+F for "api" didn't seem to bring up anything relevant, except that they seem to be using JQuery.
Saw something interesting, <script id="evaluationTemplate" type="text/x-jquery-tmpl">
on line 165 of my sample page, https://evaluations.ufl.edu/results/instructor.aspx?ik=-957811086. Also of interest is <script type="text/javascript">
on line 276 and on...
Those two scripts, combined, seem to be pulling data from somewhere and displaying it on screen.
Using Firefox Inspector on a single table cell, I'm able to see the raw data between the table tags. But just where and how is the data even coming in?
Nice find! It seems to be a jQuery template, which gets filled using the JSON of the response. I need to compare that with the response json fully to be sure if that is all it is doing, since it sends only a single request to the API.
Will edit with confirmation
We need to identify API endpoints for various pieces of information to completely build the dependencies for all of the courses.
Status:
$TERM
&category=$CATEGORY
&lastrow=$LASTROW
$COURSE_CODE
Assignments:
Dependencies - @pikachuster
Updates
Schedule - Scrapy projectDependencies / Descriptions - Currently being added to the scrapy based code. Evaluations - Probably going to use scrapy / selenium here whichever comes through first reliably