Commit Graph

32 Commits (67429fa3bf0c6c67fe4c4f503ff529b876e00e4d)

Author SHA1 Message Date
EmaMaker 67429fa3bf Automator: various bug&fixes
- 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
2022-01-21 19:19:32 +01:00
EmaMaker de3df999c8 automator: put inside own folder and convert to docker compose 2021-12-08 20:42:35 +01:00
EmaMaker bef53a1d36 qwaccountserver: use docker compose networks 2021-12-08 20:42:14 +01:00
EmaMaker 36c8424b34 accountserver: port for exclusive use inside a docker container 2021-12-05 21:42:46 +01:00
EmaMaker ecf5be5515 shell gist: better setup of xorg in cloud shell 2021-11-06 19:23:29 +01:00
EmaMaker 648e2d7698 update README.md 2021-11-05 23:03:13 +01:00
EmaMaker 5fb1d0edde qwiklabs: use a server on localhost:12345 to manage new qw account requests
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
2021-11-05 22:47:34 +01:00
EmaMaker b83e8449e3 big squashed commit, finalize gshellautomator 2021-11-05 18:23:25 +01:00
EmaMaker ea192e2d12 fix minor bugs 2021-09-01 17:37:03 +02:00
EmaMaker ce369f7f77 colab_automator.sh: replace xephyr, copyq and pip logs with echo's 2021-08-29 22:03:35 +02:00
EmaMaker 8369526550 colab: print account when instantiating the gist 2021-08-29 22:02:50 +02:00
EmaMaker a864481c42 qwiklabs_getaccount: properly format account tuple) 2021-08-29 22:02:23 +02:00
EmaMaker 8805556886 qwiklabs_getaccount: click captcha, just in case
Just clicking it should be ok
2021-08-29 21:54:23 +02:00
EmaMaker ca74634352 Do not use test account, for now 2021-08-27 22:48:24 +02:00
EmaMaker 1124699b3b properly use Gists Enum 2021-08-27 22:47:41 +02:00
EmaMaker 5b0af63c49 allow the use of a test google account 2021-08-27 22:35:11 +02:00
EmaMaker 66d0617299 [SQUASHED] Use of Global Vars, fix bash scripts to properly use Xephyr 2021-08-27 22:25:57 +02:00
EmaMaker 68b0560e7d add gitignore 2021-08-27 22:23:13 +02:00
EmaMaker fc4f0268f2 qwiklabs account list handling 2021-08-26 21:34:11 +02:00
EmaMaker cba3131dbf qwiklabs: fully create a qwiklabs account
Solving 2(!) Captchas!
+ some bonus activated/unactivated standard-password accounts created during the tests
2021-08-25 21:36:50 +02:00
EmaMaker 30a4e89c27 ngrok: start gist and get proxy ip in a single function 2021-08-25 18:20:16 +02:00
EmaMaker bd7a74d08c update requirements 2021-08-25 18:19:45 +02:00
EmaMaker 823d8d44ce add an after delay in browser utils functions 2021-08-25 18:19:15 +02:00
EmaMaker 3ddccfc7b2 currently_unused -> misc 2021-08-25 18:17:25 +02:00
EmaMaker d475eede24 qwiklabs: create qwiklabs account
still need to accept the confirmation email
2021-08-25 18:16:54 +02:00
EmaMaker 022b5c967b creating qwiklabs account: get person info from randomuser.me api using requests 2021-08-25 15:17:42 +02:00
EmaMaker ecf5a061bb qwiklabs: delete accounts using selenium 2021-08-24 22:00:31 +02:00
EmaMaker d644e704f8 better reorganize code into folders 2021-08-24 20:33:53 +02:00
EmaMaker 6b7d6d3161 introduce a class to start arbitrary gist on google colab
need to fix stop timer
2021-08-23 22:53:10 +02:00
EmaMaker f19d20f725 get the proxy ip from ngrok 2021-08-23 22:01:40 +02:00
EmaMaker 0bd11846db update README.md 2021-08-21 03:34:21 +02:00
EmaMaker c9e053306d Get credentials from qwiklabs
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
2021-08-21 03:27:19 +02:00