-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect to wrong course #10
Comments
$ curl https://ceiba.ntu.edu.tw/1072CHIN1050_02
<!doctype html>
<html>
<head>
<title>NTU CEIBA - 國立臺灣大學 非同步課程:</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<frameset rows="0,*" frameborder="NO" border="0" framespacing="0">
<frame name="tFrame" marginwidth="0" marginheight="0" noresize scrolling="NO" frameborder="NO" src="" >
<frame name="Main" marginwidth="0" marginheight="0" noresize scrolling="YES" frameborder="NO" src="https://ceiba.ntu.edu.tw/modules/?csn=fe895c">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">
</body></noframes>
</html> Is it the same as what you see? Since I don't have access to the course shown in your log file, I cannot confirm myself. It seems that we will have to parse this HTML 4 frames to get |
Hi, thanks for the reply. That's exactly what I saw using curl. |
Sorry for the late reply. I admit that this project isn't well-maintained... $ curl https://ceiba.ntu.edu.tw/1072CHIN1050_02
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://ceiba.ntu.edu.tw/login_test.php?csn=fe895c">here</a>.</p>
<hr>
<address>Apache/2.2.34 (FreeBSD) PHP/5.2.17 mod_ssl/2.2.34 OpenSSL/1.0.2k-freebsd DAV/2 Server at ceiba.ntu.edu.tw Port 443</address>
</body></html> Since it redirected to a
I have no access to the source code or the API documentation of CEIBA, so I can't really understand how it works. Everything below is just my observation. Yes, If I remember correctly, |
log.txt
I tried to ls any one of the courses, and it would finally redirect to the front page and the wrong course.
The text was updated successfully, but these errors were encountered: