From 0532c5f7e228447aeef1b18ea28a5707f0be5d01 Mon Sep 17 00:00:00 2001 From: Dipam Sen Date: Tue, 1 Oct 2024 21:05:30 +0530 Subject: [PATCH 1/2] update timetable url to new endpoint --- README.md | 2 -- gyft.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 38a07608..429edb3d 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,6 @@ Gets your timetable from ERP and adds it to your Google Calendar or gives you an ICS file which you can add in any common calendar application. -> **Note** All updates to this repo should reflect, with appropriate refactorisation, in [gyft-serve](https://github.com/metakgp/gyft-serve/) -

(back to top)

diff --git a/gyft.py b/gyft.py index dcd4f918..7a20d867 100644 --- a/gyft.py +++ b/gyft.py @@ -63,7 +63,7 @@ def main(): def get_courses(session: requests.Session, sso_token: str, roll_number: str): - erp_timetable_url = "https://erp.iitkgp.ac.in/Acad/student/view_stud_time_table.jsp" + erp_timetable_url = "https://erp.iitkgp.ac.in/Acad/student/student_timetable.jsp" courses_url: str = ( "https://erp.iitkgp.ac.in/Academic/student_performance_details_ug.htm?semno={}&rollno={}" ) From b68bdd57d0435ed26b4dd1d74827551a8355b76d Mon Sep 17 00:00:00 2001 From: Dipam Sen Date: Tue, 1 Oct 2024 21:35:19 +0530 Subject: [PATCH 2/2] revert change to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 429edb3d..38a07608 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ Gets your timetable from ERP and adds it to your Google Calendar or gives you an ICS file which you can add in any common calendar application. +> **Note** All updates to this repo should reflect, with appropriate refactorisation, in [gyft-serve](https://github.com/metakgp/gyft-serve/) +

(back to top)