Skip to content

thiagorcdl/autovisa

Repository files navigation

Visa Scheduler

Released under the MIT license.

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.

Usage

  1. Clone repository
  2. Install packages pip install -r requirements.txt
  3. Export env variables:
    VISA_EMAIL="your@email.com"
    VISA_PASSWORD="your_password"
    APPLICANT_ID="YOURAPPID"
    BASE_URL="https://consulate.base.url"
    PRODUCTION=1
    
  4. Run python -m autovisa

TODO

  • 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

About

A simple tool to help people automate the tedious work of rescheduling their visa appointments

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages