- disable access to QWAccountServer until it gets fixed
- Adapt hardcoded directories to docker-compose folder structure
- Rewrite PyAutoGUI bot to use absolute coordinates instead of relatives, and switch from chrome to firefox as it has less popus
- Simplify code in some parts (i.e shell access to google account, rewrite shell scripts)
- Change elements selectors and xpath to accomodate changes in the website
- Use Context Managers when using sockets
- Rewrite Docker scripts to use entrypoint and bind mounts
- Clear requirements from old, unneeded captcha stuff
This project is a mess, I know, I promise I will make better commits
this allows to scale the automator using multiple instances of the script running separetely (e.g. in docker containers) but using a single server for accounts to prevent conficts between different instances
after too many consequent attempts the account gets kinda blocked and the course is unable to start. No captcha gets asked - probably the usage patterns look legit enough
Future improvements: multiple accounts, using a random one each time. Probably google colab can still be used with selenium, now that the big problem of reliably getting credentials has been overcome