Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
update course data
Browse files Browse the repository at this point in the history
  • Loading branch information
Akylzhan committed May 4, 2021
1 parent efd1f93 commit d9a7cf1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/courseList.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions data/instructors.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/semesters.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"ID":"541","NAME":"Spring 2021"},{"ID":"521","NAME":"Fall 2020"},{"ID":"461","NAME":"Summer 2020"},{"ID":"442","NAME":"Spring 2020"},{"ID":"441","NAME":"Summer 2019"},{"ID":"421","NAME":"Fall 2019"},{"ID":"381","NAME":"Spring 2019"},{"ID":"361","NAME":"SoM 2018-2022"},{"ID":"341","NAME":"EMBA 2018-2019"},{"ID":"322","NAME":"Fall 2018"},{"ID":"321","NAME":"Summer 2018"},{"ID":"301","NAME":"Spring 2018"},{"ID":"281","NAME":"EMBA 2017-2018"},{"ID":"261","NAME":"Fall 2017"},{"ID":"241","NAME":"Summer 2017"},{"ID":"223","NAME":"Spring 2017"},{"ID":"222","NAME":"SoM 2017-2021"},{"ID":"221","NAME":"Fall 2016"},{"ID":"201","NAME":"EMBA 2016-2017"},{"ID":"181","NAME":"Summer 2016"},{"ID":"161","NAME":"SoM 2016-2020"},{"ID":"141","NAME":"Spring 2016"},{"ID":"121","NAME":"SoM 2015-2019"},{"ID":"31","NAME":"Fall 2015"}]
[{"ID":"582","NAME":"Summer 2021"},{"ID":"541","NAME":"Spring 2021"},{"ID":"521","NAME":"Fall 2020"},{"ID":"461","NAME":"Summer 2020"},{"ID":"442","NAME":"Spring 2020"},{"ID":"441","NAME":"Summer 2019"},{"ID":"421","NAME":"Fall 2019"},{"ID":"381","NAME":"Spring 2019"},{"ID":"361","NAME":"SoM 2018-2022"},{"ID":"341","NAME":"EMBA 2018-2019"},{"ID":"322","NAME":"Fall 2018"},{"ID":"321","NAME":"Summer 2018"},{"ID":"301","NAME":"Spring 2018"},{"ID":"281","NAME":"EMBA 2017-2018"},{"ID":"261","NAME":"Fall 2017"},{"ID":"241","NAME":"Summer 2017"},{"ID":"223","NAME":"Spring 2017"},{"ID":"222","NAME":"SoM 2017-2021"},{"ID":"221","NAME":"Fall 2016"},{"ID":"201","NAME":"EMBA 2016-2017"},{"ID":"181","NAME":"Summer 2016"},{"ID":"161","NAME":"SoM 2016-2020"},{"ID":"141","NAME":"Spring 2016"},{"ID":"121","NAME":"SoM 2015-2019"},{"ID":"31","NAME":"Fall 2015"}]
2 changes: 1 addition & 1 deletion getInfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ curl -L --output data/courseList.gz 'https://registrar.nu.edu.kz/my-registrar/pu
-H 'Connection: keep-alive' \
-H 'Referer: https://registrar.nu.edu.kz/course-catalog' \
-H 'X-Requested-With: XMLHttpRequest' \
--data 'method=getSearchData&searchParams%5BformSimple%5D=false&searchParams%5Blimit%5D=1000&searchParams%5Bpage%5D=1&searchParams%5Bstart%5D=0&searchParams%5BquickSearch%5D=&searchParams%5BsortField%5D=-1&searchParams%5BsortDescending%5D=-1&searchParams%5Bsemester%5D=541&searchParams%5Bschools%5D=&searchParams%5Bdepartments%5D=&searchParams%5Blevels%5D=&searchParams%5Bsubjects%5D=&searchParams%5Binstructors%5D=&searchParams%5Bbreadths%5D=&searchParams%5BabbrNum%5D=&searchParams%5Bcredit%5D='
--data 'method=getSearchData&searchParams%5BformSimple%5D=false&searchParams%5Blimit%5D=1000&searchParams%5Bpage%5D=1&searchParams%5Bstart%5D=0&searchParams%5BquickSearch%5D=&searchParams%5BsortField%5D=-1&searchParams%5BsortDescending%5D=-1&searchParams%5Bsemester%5D=582&searchParams%5Bschools%5D=&searchParams%5Bdepartments%5D=&searchParams%5Blevels%5D=&searchParams%5Bsubjects%5D=&searchParams%5Binstructors%5D=&searchParams%5Bbreadths%5D=&searchParams%5BabbrNum%5D=&searchParams%5Bcredit%5D='

if [ $? -eq 7 ]; then
exit
Expand Down

0 comments on commit d9a7cf1

Please sign in to comment.