Code Monkey home page Code Monkey logo

oops-efonline's Introduction

oops-EFonline

description

a python script that helps you to pass EF online exercises efficiently. it can automatically solve 1 level each time.

spinach: 有问题请发issue ,在IM上面联系我不会取得及时反馈,邮件不回.
teafrogsf: use IM or email is also OK, because timely feedback is often not available XD.

dependencies

  • python-selenium
  • firefox+geckodriver or googlechrome+chromedriver

license

GPL v3.0

todo

  • 不再等待确定时间后操作,而是检查所需的元素是否已经出现在DOM中(partially.为了防止操作过快,快过浏览器响应,仍然保持了一个操作间隔时间,你可以修改代码中的RESP_TIME适应不同响应速度)
  • 自动解决alert/notification
  • 检查并删除mask,防止不可点击exception
  • 自动寻找仍未完成的lesson
  • 整单元跳过
  • webdriver.option.headless=true降低资源占用.

usage

on a linux distro(arch linux for example)

git clone https://github.com/hehelego/oops-EFonline.git
cd oops-EFonline
sudo pacman -S firefox geckodriver python python-selenium
python fuckEF.py
  1. get python installed on your system
  2. clone this repository
  3. install dependencies: selenium python binding + browser + geckodriver
  4. cd into the repo and run the python script. cd oops-EFonline && python fuckEF.py
  5. login your account in the browser controlled by this program, the program will detect whether you have successfully logged in.
  6. then the program will automatically run. have fun.

on Windows

git clone https://github.com/hehelego/oops-EFonline.git
cd oops-EFonline
python fuckEF.py
  1. get python installed on your system
  2. clone this repository
  3. install pip
  4. install dependencies: selenium python binding + browser (use Tuna for faster speed) + selenium driver
  5. cd into the repo and run the python script. cd oops-EFonline && python fuckEF.py
  6. login your account in the browser controlled by this program, the program will detect whether you have successfully logged in.
  7. then the program will automatically run. have fun.

choose another browser

edit fuckEF.py change browser_choice to 'chrome' if you prefer googlechrome.

known issues

negative integer: it does not seem to affect use. microphone notification: it does not seem to affect use.


关于这玩意怎么搞的

直接联系我吧,把这种东西在github上面公开发布出来不太好.

oops-efonline's People

Contributors

teafrogsf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.