2busy2homework is a tool that allows sending POST request to code.org for automatic exercises completion. Using selenium it's capable of sending Form Data with random generated values of attempts, completion time and lines of code.
Clone repo:
$ git clone https://github.com/zgredinzyyy/2busy2homework
Install requirements:
$ pip install requirements.txt
Download chromedriver.exe for your version of chrome:
- Go to the course
- Enter any exercise
- Open developer console
- Enter Network tab
- Check Preserve Log
- Start execution of code (on code.org)
- Look for POST request as shown on the picture
- ID = First digits
- Before = Second digits
- After = Third digits
- app_name = app
- Type in value for how many excercises you need to do. (Type +/- 3 because sometimes links are little bit apart)
- Finally type in your login and password into variables with same name.
- Run in your shell:
$ python ./main.py
- Let it run 😮