fbuetler / asvz-bot

ASVZ Bot to enroll to lessons. Get a place when the registration opens or when a place gets free. Works for ETH, UZH and ZHAW students.
GNU General Public License v3.0
66 stars 25 forks source link

Credentials #6

Closed julesmefy closed 2 years ago

julesmefy commented 2 years ago

Sorry I am a programming noob. Where do I save it locally (where is .asvz-bot.json). Also does the program run on repl.it? Thank you!

fbuetler commented 2 years ago

Hi, The asvz-bot.json file is automatically stored in the src folder, if you use the appropriate flag. As it is a "dot"-file it is by default hidden in UNIX systems. To view it try ls -al in your terminal in the src folder. I haven't tested the bot with repl.it and neither do I know whether selenium has a driver for it. If you find one that works, let me know! Cheers

julesmefy commented 2 years ago

Hi, Thank you for your kind comment. I tried everything now and am still unable to get the bot to work. Could you run me through step by step what I have to do after opening the IDLE Shell 3.10.0. Sorry for causing you such a hassle! Thank you for your help!

fbuetler commented 2 years ago

This should do it:

git clone git@github.com:fbuetler/asvz-bot.git
cd asvz-bot/src
python3 -m pip install -r requirements.txt
python3 asvz_bot.py -u <nethz> -p <passwod> -org <organisation> lesson <lesson id>