Simple script in that click on Clock In
and Clock Out
button inside Woffu. It detects holidays and only execute it when on working days.
- You need Python 3.6+ and run:
pip install -r requirements.txt
- Open
config/secrets.json
file and add your credential and login email.
{
"email": "",
"password": "",
"companyName": "",
"times": ["09:00", "13:00", "14:00", "17:30"]
}
You need to provide the hours you are supposed to click the annoying button. Always an even number, you need to sign in and then sign out.
Execute the following command
python3 fuckWoffu.py
Run as background service without logs:
nohup python3 fuckWoffu.py &
Forget about everything, it also detect your holidays/pto and do not clock in
Manually create image and run container:
docker build -t py-woffu-app .
docker run py-woffu-app
Directly by composer:
docker compose up