a python script that helps you to pass EF online exercises efficiently.
有问题请发issue ,在IM上面联系我不会取得及时反馈,邮件不回.
- python-selenium
- firefox
- geckodriver
GPL v3.0
- 不再等待确定时间后操作,而是检查所需的元素是否已经出现在DOM中(partially.为了防止操作过快,快过浏览器响应,仍然保持了一个操作间隔时间,你可以修改代码中的
RESP_TIME
适应不同响应速度) - 自动解决alert/notification
- 检查并删除mask,防止不可点击exception
- 自动寻找仍未完成的lesson
- 整单元掉过
-
webdriver.option.headless=true
降低资源占用.
git clone https://github.com/hehelego/oops-EFonline.git
cd oops-EFonline
sudo pacman -S firefox geckodriver python python-selenium
python fuckEF.py
- get python installed on your system
- clone this repository
- install dependencies: selenium python binding + firefox + geckodriver
- cd into the repo and run the python script.
cd oops-EFonline && python fuckEF.py
- login your account in the browser controlled by this program, the program will detect whether you have successfully logged in.
- manually navigate to the testing page, where you can see the exercises. when a testing page is deteced, the program will help you to skip the test.
- wait until the lesson is finished, you will be leaded back to the
studyplan
page. - repeat step 5/6. have fun.
==这是一个分割线,下面没有任何有意义的内容==
直接联系我吧,把这种东西在github上面公开发布出来不太好.