Book Texas DPS Appointments (fixes auth errors) 🚦
DPS appointments are pretty much impossible to get and the website is a mess. This script automates the process of booking an appointment. Also, earlier versions of the script were broken due to authentication changes in the DPS website. This version fixes those issues.
- Clone the repository
- Copy
config.example.yaml
toconfig.yaml
and fill in the required fields - Optionally setup notifications through Apprise by adding handlers in
monitor.py
- Run the following commands
pip install requirements.txt
bash run.sh
Tip: You need to keep the script running in order to get an appointment. You can use GitHub Codespaces or a VPS to keep the script running 24/7.
Tip
There also seems to be an IP blocking issue when the script is run for too long. I would recommend starting the script the night before you want to book the appointment.
Important
There are occasional errors with authentication and selenium (about once per hour based on my experience), but they're expected. It's difficult to bypass the new authentication system every time, but it works out most times. Since monitor.py triggers the main script each minute, this ends up working to our advantage. Check out #1 for more details.
config.example.yaml
: Example configuration file which needs to be copied toconfig.yaml
fingerprints.py
: Generates the auth fingerprint for the DPS websitemain.py
: Main script that checks, holds, and books the appointmentmonitor.py
: Calls main script periodically and sends notificationsrun.sh
: Bash script to call the monitor script