1
Home
Tirsvad edited this page 2026-10-28 11:21:19 +01:00

English · Dansk · Bahasa Melayu

Snack and Lift bot

A Selenium bot that books classes at the practice gym Snack and Lift. It is the solution to day 49 of Udemy's 100 Days of Code. Each page below explains what one lecture step teaches.

The bot logs in, books every Tuesday and Thursday 6pm class (or joins the waitlist), verifies the result on the My Bookings page and retries when the site fails a request.

Source and issues: repository.

The nine steps

  1. Step 1: Setup, Chrome profile and navigation
  2. Step 2: Automated login
  3. Step 3: Book the next Tuesday class
  4. Step 4: Check if a class is already booked
  5. Step 5: Counters and a summary
  6. Step 6: Every Tuesday and Thursday class
  7. Step 7: Verify on the My Bookings page
  8. Step 8: Time travel quality assurance
  9. Step 9: Resilience against network failures