Automate your boring online presence and survey at this site
it will automatically choose NO
for all the survey question
- Open
main.py
- Change
Username
&Password
- Save it
In this tutorial i will use Github Actions, if you prefer use something else like Travic CI, Circle CI, etc. then maybe there will need some configuration
- Create new repository in your new account (public or private will be okay)
- Download / clone this repository (remember to delete
.git
folder if you clone the repository,git init
, and add remote url again) - In folder
.github/workflows
there will be file calledmain.yml
open that file - Change
YOUR_EMAIL
&YOUR_USERNAME
to your githubEMAIL
&USERNAME
example:
git config --local user.email "natlus@rocketmail.com"
git config --local user.name "SultanKs4"
then everytime you push or pull request to branch master main.yml
will be run
You can create a schedule when main.yml
will be run using schedule cron
Example:
on:
schedule:
- cron: "0 22 * * *"
...
Schedule above means the main.yml
will be execute everyday at 22:00
If you not familiar to create schedule cron you can create at crontab.guru
Reminder: Github Actions use UTC time so convert first your desire schedule local time to UTC and then create cron format for that time
when your config still have like this:
push:
branches: [ master ]
that means everytime you push to branch master
main.yml
will be run, but how if you want push to branch master
but you don't want to run main.yml
, then just add [ci skip]
to commit message
[ci skip] <your commit message>
Example
[ci skip] change resolution headless browser
if your commit message like above then main.yml
will not run
- Python 3.8 or newer
- PIP
- Virtualenv (Optional but i highly recommend use it)
- Firefox Browser
- Geckodriver
❗ I ASSUME YOU ALREADY CREATE A NEW VIRTUAL ENVIRONTMENT AND ACTIVATE IT ❗
-
Open Terminal / cmd / ps and then navigate to this project
-
Install depedencies
pip install -r requirements.txt
-
run main.py
python main.py
don't forget to input your username and password
-
wait until you see
Job done! see log for further information
and then navigate to folderlog
there will belog_absen.txt
and screenshot that you can double check it.
Tested on : Linux & Windows 10
P.S : DWYOR 🙂