大学课堂注册的脚本 [英] Script for College Class Registration

查看:80
本文介绍了大学课堂注册的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我明天早上报名参加春季课程(转入计算机科学专业)。因为我是转学生,所以我最后选择了尚未学习的剩余课程。强调'最后一个选择'和'剩余'。很有可能的是,无论我打算明天挑选什么课程,我都可能没有,因为其他学生将争夺同样的课程。除此之外,即使在安排的时候,服务器也会因为负载很大而受到严重影响。

I sign up Spring courses tomorrow morning (transferring in to the Computer Science program). Since I'm a transfer student, I get the last pick of leftover classes not already taken. Emphasis on 'last pick' and 'leftover'. It's highly probable that whatever classes I intend on picking tomorrow, I might not even get because other students will be vying for those same classes. Add on top of this, even with scheduling, an extremely sluggish server when it gets hit with a big load.

因此,当我在下学期注册时(甚至注册Spring的不同类,如果其他人放弃它们我想要准备好脚本或代码,这样我就可以自动输入我的输入而不填写Web表单并希望服务器正确解析它们。 (通过输入,我是一般的 - 从自动填写表单字段到SQL输入)。显然,这可能不起作用。但是,我正在寻找的是一种网络浏览器的键盘记录器,可以下载所有访问过的网页,执行的任何javascript,填写的表格,任何内容和所有内容。通过这种方式,我可以稍后分析数据,并在我的闲暇时间,看看我是否可以更好地做到这一点。

So, when I register next semester (or even register for different classes for Spring if others drop 'em) I'd like to have a script or code ready to go so I could just automate my inputs without filling out web forms and hoping the server parses them correctly. (By inputs, I'm being general -- from automatically filling in form fields to SQL inputs). Obviously, this might not work. But, what I'm looking for is a kind of keylogger for a web browser, which would download all web pages visited, any javascript executed, forms filled out, anything and everything. This way, I could analyze the data later, and at my leisure, to see if I could do this in a better way.

有什么可以做到这一点的任何建议? (我想也许是一些测试软件?)。在此先感谢。

Any suggestions on what could do this? (I'm thinking maybe some testing software?). Thanks in advance.

推荐答案

Selenium 可以自动执行大多数基于浏览器的任务。 http://selenium.seleniumhq.org/

Selenium can automate most browser based tasks. http://selenium.seleniumhq.org/

Grinder 附带一个可以记录流量的本地代理,并且可以使用Python编写脚本。 http://grinder.sourceforge.net/

The Grinder comes with a local proxy that can record traffic and is scriptable with Python. http://grinder.sourceforge.net/

这篇关于大学课堂注册的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆