https://github.com/ousc/yys-answer
https://github.com/ousc/yys-answer
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ousc/yys-answer
- Owner: ousc
- Created: 2020-01-07T06:24:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-15T07:31:57.000Z (almost 5 years ago)
- Last Synced: 2025-02-16T02:41:47.396Z (5 months ago)
- Language: Python
- Size: 239 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
可以自动运行,支持连续做题的平安京学历测试题库爬虫
需要的环境和工具:
```shell
Python 3.5+
selenium
pyquery
chromedriver
```安装教程见:
运行:
```shell
python app.py
```进入题目,开始答题状态后台挂机即可(在首页初次加载完后台挂机会出错)
答案会在answer.txt里,格式:问题 |选项 # 答案
更新:
增加可以直接通过adb操作设备爬取大神题目的脚本(未登录和已登陆题库不同),需要用到poco
安装:
```shell
pip3 install pocoui
```进入答题准备界面,启动即可:
```shell
python appWithPocoui.py
```(理论上可以做到自动答题,但是题库在不断更新,无法保证题库是完整的,所以建议根据爬来的数据自己做题)