A script which allows you to open a choosen course automatically on Moodle at HS Bochum.
- selenium 3.141.0
To get a local copy up and running follow these simple steps.
-
Install geckodriver [Firefox]
https://github.com/mozilla/geckodriver/releases
- Clone the repo
git clone https://github.com/DoganGuendogdu/moodle-course-login-automation.git cd moodle-course-login-automation/
- Install requirements
pip3 install -r requirements.txt
- Execute script
./main.sh 'your_short_name'
or
python3 main/main.py 'your_short_name'
Open 'files/username_password.csv' and enter your moodle username and password
Short names are only available for courses which are listed in the course overview
Courses can be listed in the card, summary or list format
Open 'files/courses.csv' and list your course names with your own choosen short form.
The course names have the be exactly like they are given on Moodle.
Opening the course "Mikrocontroller / Mikroprozessortechnik" with the short form 'micro'
Dogan Guendogdu - @dogan.guendogdu_cs@tutanota.com