Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 2.21 KB

README.md

File metadata and controls

64 lines (42 loc) · 2.21 KB

Course Registration Automation

About:

GWU uses BanWeb to register for courses. When 10,000 students log in at the same time, it can be difficult to sign up for the courses you want. This python script saves time by automatically logging in and entering the courses, minimizing the amount of time spent to sign in.

Initial Setup:

For Beginners:

  • Download github folder here and unzip
  • Unzip chromedriver & move into folder Course-Registration-master

For Advanced Users:

  • pip install virtualenv

  • Create a virtual environment: virtualenv -p python3 env

  • Source the environment source env/bin/activate

Run:

  • Open up terminal in finder or searchbar

  • Change directory to where Course-Registration-master is: i.e: cd Downloads/Couse-Registration-master

  • Locate current directory: pwd

  • Inside registration.py change chromedriver = path/of/chromedriver

  • Ex: chromedriver = /home/User/Desktop/Course-Registration/chromedriver/chromedriver

  • Install pip if not installed sudo apt-get install python-setuptools

  • Install the necessary pip packages pip install -r requirements.txt

  • Run the python script in your terminal python registration.py

Things to Note:

  • If you want to add more CRNS add this after the last CRN: mydriver.find_element_by_id("crn_id6").send_keys(crn6)

  • After the above statement, in the bottom, add: crn6 = '666666'

  • If you want less CRNS, simply delete the ones you do not want

  • YOU MUST CLICK THE SUBMIT BUTTON BEFORE SEMESTER YEAR (ex: Fall 2018)

  • Feel free to contact me with any questions or submit an issue!