This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script automatically reserves Wilson weightlifting slots. | |
# usage: python GymScheduler.py --day=monday --startTime=9:20AM | |
# use cron (unix) or TaskScheduler (windows) to get this to run automatically 48 hours before | |
# you need selenium webdriver for chrome and selenium python bindings installed. | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.by import By | |
import sys, getopt |