andrey-yantsen / tlscontact-appointment-finder

MIT License
44 stars 13 forks source link

THE PROJECT IS NOT USABLE AFTER TLSCONTACT INTRODUCED A ROBOT-PROTECTING LANDING PAGE.

What is it?

If you ever tried to get a French Schengen visa using using TLSContact in London, you know that it's a pain and it's nearly impossible to get an appointment earlier than in 1.5 months. This script constantly monitors available appointments and notifies you as soon as it'll find an appropriate one.

What's supported?

At the moment the script was tested only with London's office of TLSContact and only with French Overseas Territory visa, but it should work at least with regular French visa as well.

How it's working?

Under the hood the script uses Selenium Webdriver and Python3. You have to provide your TLSContact credentials, and the script will monitor available dates for you. All the notifications are being sent to telegram, in order to work properly you have to register a Telegram Bot and provide the token to the script.

Setting up

Available arguments

Easiest way to run, using docker-compose

Clone this repo locally:

git clone https://github.com/andrey-yantsen/tlscontact-appointment-finder.git

And run it using following command, replacing arguments with proper values:

docker-compose run -d selenium && sleep 10
docker-compose run tlscontact \
  --tls-application-reference <APPLICATION_REFERENCE> \
  --login <EMAIL> \
  --password <PASSWORD> \
  --search-before <DATE> \
  --telegram-bot-token <TELEGRAM_TOKEN> \
  --telegram-chat-id <TELEGRAM_CHAT_ID>

All those arguments are required.

Other ways...

Just google it :)