λ² λ€λμ μλμΌλ‘ λ‘κ·ΈμΈν΄ μ€λ€.
secret.json
μμ±, κ³μ μ 보(νμ) μ μ₯
{
"email": "email@example.com",
"password": "password"
}
-
pip3 install selenium
-
μ€ν
$ python3 app.py
{"success": true, "points": 3, "rank": 4}
success
: μ±κ³΅ μ¬λΆpoints
: μΆμμ²΄ν¬ μ΄ν μ¬μ©μ ν¬μΈνΈrank
: μΆμμ²΄ν¬ μ΄ν μ¬μ©μ λ±μ
crontab
$ crontab -l
0 3 * * * /usr/local/bin/python3 /Users/junhoyeo/Desktop/Benedu-Attendance-Check/app.py
λ§€μΌ 0μ 3λΆλ§λ€ μλ μ€ν(μκ° λλ μ΄κ° μμ μ μμ)
- Profit!