You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Southwest Auto Check-In (Local)
A small, portable Python app that schedules Southwest flight check-ins. You enter your First name, Last name, Confirmation number, and the desired local Date and Time to run the check-in. The app runs a background loop to trigger check-ins at the right time and persists scheduled items to a local JSON file.
Important notes:
- This automates a browser using Playwright to submit the Southwest check-in form, just like you would manually. Southwest may change their site or implement bot detection at any time, which can break automation. Use at your own risk.
- Ensure you comply with Southwest terms and applicable laws. This tool is for personal use on your own machine.
## Prerequisites
- Windows, macOS, or Linux with Python 3.9+
- Internet connection at scheduled time
## Setup
1. Create a virtual environment (recommended):
```powershell
python -m venv .venv
.venv\Scripts\Activate.ps1
```
(On macOS/Linux: `source .venv/bin/activate`)
2. Install dependencies:
```bash
pip install -r requirements.txt
playwright install
```
The second command downloads the browser binaries used by Playwright.
## Run
```bash
python app.py
```
- Fill in First name, Last name, Confirmation number, Date (YYYY-MM-DD), and Time (HH:MM in 24h, local time), then click "Schedule Check-In".
- The app saves scheduled items to `scheduled_flights.json` in the same directory and will attempt check-in at the specified local time.
## How it works
- A background thread wakes up every ~30 seconds to see if any scheduled item is due.
- When due, it opens a headless browser, navigates to Southwest's check-in page, fills the form, and submits.
- Results (success/failure) are logged in the app window and persisted.
## Troubleshooting
- If you see Playwright errors, try re-running `playwright install`.
- If Southwest updated their site, selectors may need updating in `app.py` (see `check_in_with_southwest()`).
- If you run into timezone issues, the app uses your system's local timezone when saving.
## Portability
- Single small codebase with minimal deps. Copy the folder, install deps, and run.
# swc