Skip to content

Ping the French Rendez-Vous creator site to check for cancellations

Notifications You must be signed in to change notification settings

mokolodi1/french-consulate-ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ping the French Consulate for cancellations

Being American, I need a visa to go to 42 in Paris.

I created this script to ping the French consulate's website for creating an appointment to notify me of any cancellations.

Setup

# create a couple temp files with email information
echo "[email protected]" > /tmp/to_address.txt
echo "[email protected]" > /tmp/from_address.txt
echo "MyEmailPassword" > /tmp/email_password.txt

# clone this repo
cd ~
git clone https://github.com/mokolodi1/french-consulate-ping

# install dependencies
sudo apt install python python-pip
sudo pip install requests bs4 lxm

# set up cron to run it every 5 minutes
(crontab -l ; echo "*/5 * * * * python ~/french-consulate-ping/ping_appointment.py >> ~/ping_logs.txt")| crontab -

About

Ping the French Rendez-Vous creator site to check for cancellations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published