A simple Python script for making US visa interview appointments in Canada
Make sure you have booked an appointment on https://ais.usvisa-info.com/en-ca/.
Install dependencies (Python3 is required):
pip install -r requirements.txt
Modify settings.py
as per the instructions within the script:
USER_EMAIL = "[email protected]"
USER_PASSWORD = "yourpassword"
EARLIEST_ACCEPTABLE_DATE = "2024-01-01" # this is now only used in detecting
LATEST_ACCEPTABLE_DATE = "2024-03-14"
USER_CONSULATE = "Toronto"
python reschedule.py
See the script in action. Once you're satisfied with its functionality, set TEST_MODE
to False
in settings.py
. For a headless operation, you can also set SHOW_GUI
to False
and allow the script to run unattended.
Note detect_and_notify.py
is no longer maintained.
It may not always be feasible to reschedule an appointment multiple times. Therefore, it's crucial to use TEST_MODE = True
for testing purposes and ensure the LATEST_ACCEPTABLE_DATE
is genuinely acceptable to you.
Consulates other than Toronto and Vancouver are not tested.
Please feel free to report issues. PRs are welcomed and greatly appreciated!
One improvement I'm interested in is rewriting legacy_rescheduler
using requests
.
Huge thanks to @jywyq for adding the Gmail notification feature.
Huge thanks to @bsingh-kpt for (finally!) fixing the legacy_rescheduler
in Mar 2025.
Thanks to @trungnguyen21 and @saroopskesav for helping with the consulate numbers in other cities.
This script is provided as-is for the purpose of assisting individuals in rescheduling appointments. While it has been developed with care and with the intention of being helpful, it comes with no guarantees or warranties of any kind, either expressed or implied. By using this script, you acknowledge and agree that you are doing so at your own risk. The author(s) or contributor(s) of this script shall not be held liable for any direct or indirect damages that arise from its use. Please ensure that you understand the actions performed by this script before running it, and consider the ethical and legal implications of its use in your context.