Every day I need to log into my gym's website and register for my next class. It's annoying and I'd like someone to write me a script that will do it for me automatically.
The script will need to:
1. start automatically every weekday at a random time between 5:00 and 5:30am
2. log me in w/Facebook credentials, but it can run on my machine where I'm already logged in.
3. navigate to the proper URL
4. scrape the site to find the link for the right class according to certain criteria
5. navigate to that link
6. programmatically press the "sign up" button
I'd like the key variables in the script to be customizable by me, for instance, I should be able to change the times and descriptions of the classes to sign up for, and the script execution time window.