jonascheng / xinyi-sport-center-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

預約羽球場地

  1. build docker
  • signup 台北市信義**中心 replace your-login-id and your-secret accordingly.
  • signup trucaptcha, and replace truecaptcha-userid, truecaptcha-apikey accordingly.
  • setup teams webhook, and replace teams-webhook-url accordingly.
docker build \
   --build-arg BOOK_WEEK_NAME="Thursday Friday Saturday Sunday" \
   --build-arg ID=your-login-id \
   --build-arg PSWD='your-secret' \
   --build-arg TRUECAPTCHA_USERID='truecaptcha-userid' \
   --build-arg TRUECAPTCHA_APIKEY='truecaptcha-apikey' \
   --build-arg WEBHOOK='teams-webhook-url' \
   --build-arg AWS_ACCESS_KEY_ID='access-key-id-for-txone-badminton-ical' \
   --build-arg AWS_SECRET_ACCESS_KEY='access-secret-key-for-txone-badminton-ical' \
   -t xinyi-bot .
  1. run docker
docker run --rm --name=xinyi-bot --privileged -d -v /tmp/xinyi-bot:/screenshots xinyi-bot

About


Languages

Language:Python 84.1%Language:Dockerfile 12.8%Language:Shell 3.0%