From 4321899e1a1ac08bef59cd3f6197e07427d1f58d Mon Sep 17 00:00:00 2001 From: Seele <48525679+Seele0oO@users.noreply.github.com> Date: Sun, 8 May 2022 14:18:06 +0800 Subject: [PATCH 1/5] add Aliyun --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d22518..cfb6fec 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,9 @@ docker-compose logs -f ## 使用云函数运行 ->以腾讯云为例 +**腾讯云函数服务免费额度近期有变化,为了避免产生费用,建议切换到阿里云 函数计算 FC** + +>腾讯云 1. 在本地完整运行一次。 @@ -104,6 +106,24 @@ docker-compose logs -f 8. 完成,enjoy it! +>阿里云 + + 1. 在本地完整运行一次。 + 2. 打开并登录[函数计算 FC](https://fcnext.console.aliyun.com/cn-hangzhou/services)。注意左上方显示的地区,可点击切换其他地区。 + 3. 创建服务 (日志功能可能产生费用,建议关闭) + 1. - 创建函数 + 2. 从零开始创建 + 1. `请求处理程序类型:处理事件请求` + 2. `请求处理程序:index.main_handler`,多用户请填写`index.main_handler_mulit` + 3. 配置触发器:触发器类型 定时触发器 异步调用。建议触发方式设为`指定时间` + 4. 点击创建 + 3. 进入函数详情 + 1. 打开函数配置 + 2. 修改 `环境信息` - `执行超时时间` 为300秒。 + 4. 测试运行 + 1. 打开 `函数详情` + 2. 点击`测试函数` + 5. 完成 ## 使用的第三方库 requests: [github](https://github.com/psf/requests) [pypi](https://pypi.org/project/requests/) From 020f403b28504fba890149914fae2ee840df1109 Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sun, 8 May 2022 20:38:28 +0800 Subject: [PATCH 2/5] readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cfb6fec..78c7b7f 100644 --- a/README.md +++ b/README.md @@ -111,19 +111,20 @@ docker-compose logs -f 1. 在本地完整运行一次。 2. 打开并登录[函数计算 FC](https://fcnext.console.aliyun.com/cn-hangzhou/services)。注意左上方显示的地区,可点击切换其他地区。 3. 创建服务 (日志功能可能产生费用,建议关闭) - 1. - 创建函数 + 1. 创建函数 2. 从零开始创建 - 1. `请求处理程序类型:处理事件请求` - 2. `请求处理程序:index.main_handler`,多用户请填写`index.main_handler_mulit` + 1. `请求处理程序类型:处理事件请求` + 2. `请求处理程序:index.main_handler`,多用户请填写`index.main_handler_mulit` 3. 配置触发器:触发器类型 定时触发器 异步调用。建议触发方式设为`指定时间` 4. 点击创建 3. 进入函数详情 1. 打开函数配置 2. 修改 `环境信息` - `执行超时时间` 为300秒。 4. 测试运行 - 1. 打开 `函数详情` + 1. 打开 `函数详情` 2. 点击`测试函数` 5. 完成 + ## 使用的第三方库 requests: [github](https://github.com/psf/requests) [pypi](https://pypi.org/project/requests/) From dc27a615c9a39831e61762faf41e9829fe108447 Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sun, 8 May 2022 20:39:25 +0800 Subject: [PATCH 3/5] =?UTF-8?q?config=E6=A8=A1=E6=9D=BF=E7=9A=84enable?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E9=BB=98=E8=AE=A4true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.json.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.json.example b/config/config.json.example index a342553..aec32bc 100644 --- a/config/config.json.example +++ b/config/config.json.example @@ -1,5 +1,5 @@ { - "enable": false, + "enable": true, "version": 5, "account": { "cookie": "", From 734ac90426108c62a88f556a712f005e651015ec Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sun, 8 May 2022 20:44:11 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E7=BB=9D=E5=8C=BA=E9=9B=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setting.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setting.py b/setting.py index d9b6d90..7497d00 100644 --- a/setting.py +++ b/setting.py @@ -39,6 +39,11 @@ mihoyobbs_List = [{ "forumId": "52", "name": "崩坏:星穹铁道", "url": "https://bbs.mihoyo.com/sr/" +}, { + "id": "8", + "forumId": "57", + "name": "绝区零", + "url": "https://bbs.mihoyo.com/zzz/" }] game_id2name = { From b481d5a713a852b1dc7c30f61fd6cdcb34111c5b Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sun, 8 May 2022 21:21:39 +0800 Subject: [PATCH 5/5] =?UTF-8?q?readme=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 78c7b7f..0129868 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,9 @@ docker-compose logs -f ## 使用云函数运行 -**腾讯云函数服务免费额度近期有变化,为了避免产生费用,建议切换到阿里云 函数计算 FC** +腾讯云函数服务免费额度近期有变化,为了**避免产生费用**,建议切换到阿里云 函数计算 FC ->腾讯云 +* 腾讯云 1. 在本地完整运行一次。 @@ -106,7 +106,7 @@ docker-compose logs -f 8. 完成,enjoy it! ->阿里云 +* 阿里云 1. 在本地完整运行一次。 2. 打开并登录[函数计算 FC](https://fcnext.console.aliyun.com/cn-hangzhou/services)。注意左上方显示的地区,可点击切换其他地区。 @@ -139,6 +139,10 @@ httpx: [github](https://github.com/encode/httpx) [pypi](https://pypi.org/project 推荐使用 阿里云/腾讯云 的云函数来进行每日自动执行脚本。 +## Stargazers over time + +![Stargazers over time](https://starchart.cc/Womsxd/AutoMihoyoBBS.svg) + ## License [MIT License](https://github.com/Womsxd/AutoMihoyoBBS/blob/master/LICENSE)