DGTBot is a Python script designed to check for the availability of appointments at the DGT website. It automates the process of searching for available appointments for various procedures at DGT offices.
- Introduction
- Features
- Requirements
- Getting Started
- Usage
- Configuration
- Logging
- Troubleshooting
- License
The DGTBot is a tool that can help you monitor the availability of appointments for different procedures at DGT offices, such as renewing your driver's license or vehicle registration. It automates the process of filling out the appointment request form and solving CAPTCHAs, making it easier for you to secure an appointment when one becomes available.
- Automated appointment availability checking.
- CAPTCHA solving using 2Captcha or Selenium Recaptcha Solver.
- Exponential backoff with jitter for retries.
- Simulated human behavior to avoid detection.
- Randomized browser settings for stealth.
Before you can use DGTBot, make sure you have the following requirements installed:
- Python 3.x
- Selenium:
pip install selenium
- WebDriver for Chrome (ChromeDriver): Download here and add it to your system's PATH.
- Latest User Agents:
pip install latest-user-agents
- httpagentparser:
pip install httpagentparser
- TwoCaptcha API key (optional, if using 2Captcha service): Sign up here
- Selenium Recaptcha Solver (optional, if using Recaptcha Solver): Selenium Recaptcha Solver
-
Clone this repository or download the script
dgt_bot.py
. -
Install the required Python packages mentioned in the Requirements section.
-
Make sure you have Chrome installed, and download the ChromeDriver that matches your Chrome version.
-
Add the ChromeDriver executable to your system's PATH or specify its location in the script.
-
Optionally, obtain a TwoCaptcha API key if you plan to use the 2Captcha service for CAPTCHA solving.
-
Optionally, install the Selenium Recaptcha Solver if you prefer to use it for CAPTCHA solving.
Run the main.py
script to check for appointment availability. You can customize the script with your preferred parameters and configuration.
python main.py