Skip to content

JoshuaDuma/Fit4Less-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fit4Less bot

Automatically get gym booking slots for Fit4Less.

This bot is written in Python using Selenium.

Setup

To run the bot, open the command line in the cloned repo directory and install the requirements using pip with the following command:

pip install -r requirements.txt

Next, you need to fill out the config.yaml file.

email: email@domain.com
password: mypassword
bookingDay: 3 # how many days in advance, put 3 if you are running it the night before via a cronjob
bookingTimes: # Times must be exact, in hh:MM AM/PM format or None for days you don't want to book
 Monday: 7:00 PM
 Tuesday: 7:00 PM
 Wednesday: None
 Thursday: 7:00 PM
 Friday: 7:00 PM
 Saturday: None
 Sunday: None
club:
  useClubName: False # Set to True to change to this club
  clubName: Waterloo Erb Street # Exact name of the club as on the club selection list
headless: True

Execute

To run the bot, run the following in the command line:

python3 main.py

About

Book Fit4Less times

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.8%
  • PowerShell 2.2%