This script is intended as a learning exercise for automating tedious tasks in browsers. The goal is to automatically log in with the user's credentials, and reschedule their appointment to some sooner date.
Currently, the only cities listed are the ones in Canada.
DISCLAIMER: This project is intended for educational purposes. Make sure you read the Terms o Service for any website before using this tool. The author does not endorse or encourage any unethical activity and is not responsible for the usage of this script by third party actors.
- Clone repository
- Install packages
pip install -r requirements.txt - Export env variables:
VISA_EMAIL="your@email.com" VISA_PASSWORD="your_password" APPLICANT_ID="YOURAPPID" BASE_URL="https://consulate.base.url" PRODUCTION=1 - Run
python -m autovisa
- Add unit tests
- Add better support for appointments with multiple applicants
- Optionallly pass credentials via arguments / input password via CLI
- Pass list of allowed cities via arguments
- Slugify city names
- Pass acceptable date range via arguments
- Add support for other countries
- Replace locale in
LOGIN_URL - Add country's cities to
CITY_NAME_ID_MAP
- Replace locale in