From a698297365771694879a183bcbf0dbaa082de7dd Mon Sep 17 00:00:00 2001 From: GamerNoTitle Date: Sat, 5 Dec 2020 19:15:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84ServerChan=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=20#1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/AutoSignin.yml | 2 +- README.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/AutoSignin.yml b/.github/workflows/AutoSignin.yml index 54a2450..7ca56fa 100644 --- a/.github/workflows/AutoSignin.yml +++ b/.github/workflows/AutoSignin.yml @@ -29,4 +29,4 @@ jobs: pip install -r requirements.txt - name: Run script run: | - python3 main.py "${{ secrets.cookie }}" "${{ secrets.teleid }}" "${{ secrets.teletoken }}" \ No newline at end of file + python3 main.py "${{ secrets.cookie }}" "${{ secrets.teleid }}" "${{ secrets.teletoken }}" "${{ secrets.SCKEY }}" \ No newline at end of file diff --git a/README.md b/README.md index 281e695..334e4e1 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ ![](https://upimage.alexhchu.com/2020/11/22/e9b4bcf8e6a1d.png) -2、进入设置,设置变量`cookie`和`teleid` `teletoken`(这两个可选) +2、进入设置,设置变量`cookie`和`teleid` `teletoken` `SCKEY`(这三个可选) [如何获取变量内容?请点这里](#变量内容获取) @@ -73,6 +73,12 @@ ![](https://upimage.alexhchu.com/2020/11/22/0428751a3925e.png) +### SCKEY获取 + +访问[ServerChan官网](http://sc.ftqq.com/?c=code),用你的Github账户登录,在`发送信息`可以看到你的SCKEY + +![](https://upimage.alexhchu.com/2020/12/05/dff25704763d8.png) + ## Q&A ### 出现错误 telepot.exception.TelegramError