Skip to content

Commit

Permalink
fix: 绝了,又换域名
Browse files Browse the repository at this point in the history
  • Loading branch information
flben233 committed Nov 8, 2024
1 parent 83e9cc4 commit 0edb2bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Component("ExperimentCourseApi")
@Slf4j
public class ExperimentCourseApi implements CourseApi {
private static final String BASE_URL = "https://sjjx.swust.edu.cn";
private static final String BASE_URL = "https://sjjx.dean.swust.edu.cn";
private static final String REFERER = BASE_URL + "/teachn/teachnAction/index.action";

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public List<Lesson> getCourseFromMatrix(CookieStore cookieStore) {
}

public List<Lesson> getCourseFromSjjx(CookieStore cookieStore) {
String baseUrl = "https://sjjx.swust.edu.cn";
String baseUrl = "https://sjjx.dean.swust.edu.cn";
Requests.getForBytes(baseUrl + "/swust", "", cookieStore);
Requests.getForBytes(baseUrl + "/aexp/stuIndex.jsp", baseUrl + "/aexp/stuLeft.jsp", cookieStore);
Requests.getForBytes(baseUrl + "/teachn/teachnAction/index.action", baseUrl + "/aexp/stuLeft.jsp", cookieStore);
Expand Down

0 comments on commit 0edb2bc

Please sign in to comment.