(English version is down below)
CLT准考证批量下载,成绩查询工具
适用范围包括大学英语、俄语、德语、法语、日语四六级考试
新 : 2019.12.3 修改CLT准考证批量下载工具,以符合最新下载要求。
在此最新版本中,我将更多主动权给予了用户,用户需要:
-
首先运行Fiddler等抓包工具,摸清可调用快速打印准考证、准考证下载的服务器地址。
-
随后在程序中输入服务器地址
(程序自带的默认地址为2019年下半年的服务器地址)
例:对于准考证下载网址,你抓包获得的地址是http://cet-bm.neea.edu.cn/Home/DownTestTicket?SID=xxxxxxxxxxxx , 则在界面中输入http://cet-bm.neea.edu.cn/Home/DownTestTicket
另外,因为网站新阻止了频繁批量下载,因而我们需要对主机挂VPN,切换IP。
新 : 2019.8.22 新增成绩查询工具(稳定)(学信网通道,更换IP免验证码)
新 : 2019.8.21 新增成绩查询工具(教考网通道,无验证码状态)(在2019.8.21 9:00-15:00(UTC+8)时使用亲测成功。)
采用Python多线程Tkinter UI编程!PDF信息处理使用pdfminer3k库, 使用requests库获取网络资源
说明:请将list.txt文件放在程序运行目录下后再运行本软件,list.txt一行代表一条数据,其格式为:
姓名 证件号
... ...
运行下载工具的同时,请用浏览器打开CLT快速打印准考证网站,输入你看到的验证码到下载工具中,并且获取Cookies中ASP.NET_SessionId和BIGipServerCLT_pool的值。如果提示验证码已过期,请点击网页中的验证码图片,以刷新验证码,再将该验证码输入到本下载工具中。如果总提示验证码已过期,请考虑是否为Cookies输入错误。
程序运行过程中向list.txt添加账号是无效的,必须重新运行程序。
程序重新运行时将恢复到初始状态。
下载结束后,请多次点击开始按钮,直到已查询账号数字不再增加,从而确保所有账号都已被下载。
下载完成之后,请直接解压Downloads目录下的zip文件到Downloads目录,并运行PDF信息处理脚本,随后将在目录下生成info.txt,其格式为:
考试代号 准考证号 姓名
... ... ...
上述步骤可以在Linux下运行Shell脚本进行操作。
也可以使用如下命令:
首先,确保打开的目录是本Python脚本所在目录,然后,执行如下命令:
cd ./Downloads
unzip -O CP936 \*.zip
cd ..
python3 Get-Info-from-CLT-Admission-Ticket.py
利用info.txt中的信息,可以进一步进行查分等操作。
(不推荐) 你可以在特定机遇下(在教考网查分不需要验证码时),运行教考网通道查分脚本进行批量查分:
-
首先运行Fiddler等抓包工具,摸清可调用查分功能的地址。
-
随后在程序中输入成绩查询服务器
例:你抓包获得的地址是http://47.94.127.138/CLT/query?data=xxxxxxxxxxxx , 则在界面中输入http://47.94.127.138/CLT/query?data
(推荐) 学信网通道查分脚本: 因为学信网查分默认不要输入验证码,仅当你的IP查分请求过多才会要求你输入验证码,你可以通过挂VPN的方法免验证码,因而此法较为稳定。
查分完成后会生成result.txt, 其格式为:
笔试准考证号 姓名 学校 总分 听力分 阅读分 写作与翻译分 口语准考证号 口语等第
... ... ... ... ... ... ... ... ...
然后你可以选用数据去重脚本去除因口语和笔试准考证重复导致的成绩重复。
警告:
仅供测试使用,不可用于任何非法用途!
对于使用本代码所造成的一切不良后果,本人将不负任何责任!
This is a Download and Mark Inquiry Tool Coded Using Python Tkinter to Batch Download CLT Admission Ticket
NEW : 2019.12.3 Modify the Download Tools for CLT Admission Ticket to meet the latest download requirements.
In this latest version, I give more initiative to users. Users need to:
-
First, run fiddler and other packet grabbing tools to find out the server address that can be used to quickly print and download the examination tickets.
-
Then enter the server address in the program
(the default address of the program is the server address in the second half exam time of 2019)
For example: for the download website of the admission certificate, the address you get by grabbing the package is http://cet-bm.neea.edu.cn/Home/DownTestTicket?SID=xxxxxxxxxxxx, then enter http://cet-bm.neea.edu.cn/Home/DownTestTicket.
In addition, because the website prevents frequent bulk downloads newly, we need to hang VPN on the host to switch IP.
NEW : 2019.8.22 New Mark Inquiry Tool (Stable)(using CHSI, change IP to avoid CHAPTCHA)
NEW : 2019.8.21 New Mark Inquiry Tool (using NEEA without Captcha) (Tested and available from 2019.21 9:00 to 15:00 (UTC+8)).
support band 4 and band 6 CET/CJT/CRT/PHS/TFU
Windows Program(Ticket Download Tool)
Windows Program(Mark Inquiry from NEEA without Captcha):
Windows Program(Mark Inquiry from CHSI without Captcha):
Mark Inquiry without Captcha Script
Using Python multithreading programming, UI Coded with Tkinter, PDF Info Handling realized by pdfminer3k, Using the requests to obtain network resources
Note: Please put the list.txt file in the program running directory before running the software. The list.txt line represents a data in the format of:
Name ID
... ...
While running the Download Tool, open CLT Fast Admission Ticket Print with a browser. Enter the validation code you see into this Download Tool and get the values of ASP.NET_SessionId and BIGipServerCLT_pool in Cookies. If the prompt verification code has expired, please click on the picture of the verification code in the web page to refresh the verification code, and then input the verification code into the Download Tool. If the total prompt verification code has expired, please consider whether the error is entered for Cookies.
It is invalid to add an account to list.txt during the running process of the program, and the program must be re-run.
The program restores to its initial state when it is re-run.
After the download is over, please click the start button many times until the number of inquired accounts no longer increases, so as to ensure that all accounts have been downloaded.
After downloading, please decompress the zip file from the Downloads directory directly to the Downloads directory and run the PDF Info Handling Script. Then, info.txt will be generated under the directory in the format of:
Exam-Code Name Admission-Ticket-number
... ... ...
The above steps can be performed by running the shell script under Linux.
You can also use the following commands:
First, make sure that the open directory is the directory where the Python script is located. Then, execute the following command:
cd ./Downloads
unzip -O CP936 \*.zip
cd ..
python3 Get-Info-from-CLT-Admission-Ticket.py
The information in info.txt can be used for further operations.
Unrecommended You can run the Inquire Mark Tool from NEEA for CLT to do batch Mark Inquiry at a specific opportunity (when no validation code is needed using NEEA):
-
First, run Fiddler and other package capture tools to find out the address of the invokable Mark Inquiry function sever.
-
Then enter the Mark Inquiry server address in the program
eg.: The address you get by grabbing the package is http://47.94.127.138/CLT/query? Data = xxxxxxxxxxxxxxxxxx, then enter http://47.94.127.138/CLT/query data in the interface.
recommended Inquire Mark Tool from CHSI for CLT: Because CHSI does not need you to enter the verification code by default, only when your request too many marks through you IP will you be required to enter the verification code. You can use the method of hanging VPN to exempt the verification code, so this method is more stable.
The result.txt is generated after the scoring is completed in the following format:
Written Examination Number, Name, School, Total Score, Listening Score, Reading Score, Writing and Translation Score, Oral Examination Number, Oral Level.
then you can choose De-duplication Script to remove duplicate data due to the oral and written test number owned by the same one.
Warning:
For TESTING ONLY, not for any ILLIGAL USE!
I will not be responsible for any adverse consequences caused by using this code.