From 48c071077e5d594c4cfe51620d5f6efc143b7af2 Mon Sep 17 00:00:00 2001 From: miaotony <41962043+miaotony@users.noreply.github.com> Date: Sun, 20 Feb 2022 03:37:07 +0800 Subject: [PATCH] [fix] Change HTTP to HTTPS due to WAF in HTTP. --- getClassSchedule.py | 2 +- settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/getClassSchedule.py b/getClassSchedule.py index 89f2d79..ce82b37 100644 --- a/getClassSchedule.py +++ b/getClassSchedule.py @@ -41,7 +41,7 @@ } # 设置session的请求头信息 session.headers = headers -host = r'http://aao-eas.nuaa.edu.cn' +host = r'https://aao-eas.nuaa.edu.cn' def getSemesterFirstDay(semester_str: str): diff --git a/settings.py b/settings.py index f41e021..5291086 100644 --- a/settings.py +++ b/settings.py @@ -8,4 +8,4 @@ DEBUG = False -VERSION = "V0.23.0.20210509" +VERSION = "V0.24.0.20220220"