Skip to content
全新的获取校园网成绩和全班成绩的 Ruby 程序,URP综合教务系统
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib add @session to download_text Jun 12, 2015
test test&bin May 27, 2015
.gitignore 自动选择校内网或外网 May 27, 2015
README.md
Rakefile
getscore.gemspec

README.md

仅供娱乐。。

me = CheckOne.new("学号", "密码")

#获取登录 session
me.get_session

#在命令行输出该人本学期成绩
me.get_score.parse_html

#如果和上次查询成绩有变(成绩有更新)
if me.different?
  #下载全年级本学期成绩
  #(GetClassTxt#get_whole_page 中的 set_form_data 一行要改成你想要的学院代号)
  page = me.get_whole_page
  me.download_text(page)
end
You can’t perform that action at this time.