diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8490e40..a439c43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: "Airport Checkin" on: schedule: - - cron: "0 22 * * *" # scheduled at 06:00 (UTC+8) everyday + - cron: "0 0 * * *" # scheduled at 06:00 (UTC+8) everyday workflow_dispatch: env: @@ -23,7 +23,7 @@ jobs: - name: Set up python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.9 - name: Random sleep if: github.event_name == 'schedule' diff --git a/main.py b/main.py index 870d4c3..a475189 100644 --- a/main.py +++ b/main.py @@ -24,9 +24,9 @@ def push(content): # 会不定时更新域名,记得Sync fork -login_url = 'https://ikuuu.me/auth/login' -check_url = 'https://ikuuu.me/user/checkin' -info_url = 'https://ikuuu.me/user/profile' +login_url = 'https://ikuuu.one/auth/login' +check_url = 'https://ikuuu.one/user/checkin' +info_url = 'https://ikuuu.one/user/profile' header = { 'origin': 'https://ikuuu.me',