An automated bot for monitoring US visa appointment availability and handling the login process for the US visa scheduling system.
Please note that this bot is only applicable for regions using CGI platform for visa appointments.
-
Automated Login: Handles the two-step login process including username/password authentication and security questions
-
Captcha Solving: Uses GPT-4o-mini to automatically solve captchas
-
Appointment Monitoring: Continuously monitors for available appointment slots
-
Telegram Notifications: Sends notifications when appointments become available
-
Session Persistence: Maintains login sessions across runs using browser profiles
-
Waiting Room Handling: Automatically handles high-traffic waiting rooms
-
Python 3.7+
-
OpenAI API key
-
Telegram bot token and chat ID (for notifications)
- Clone the repository:
git clone https://github.com/tpm2dot0/usvisascheduling-bot
cd usvisascheduling-bot
- Install dependencies:
pip install -r requirements.txt
-
Fill your OpenAI API Key at
.env -
Edit
credential.jsonwith your visa scheduling account details -
Update notification settings:
- Edit
visa_checker.pyand replace theNOTIFY_URLwith your Telegram bot details:
NOTIFY_URL = "https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage?chat_id=<YOUR_CHAT_ID>&text=hasSlot"Run the bot:
python visa_checker.py