From edb3576b4998c2c495e0897fed11c54d0222e00b Mon Sep 17 00:00:00 2001 From: yuxian Date: Wed, 12 Jan 2022 16:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=98=93=E4=BA=91=E6=B8=B8=E6=88=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other_scripts/README.md | 6 ++++++ other_scripts/oc_163game.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 other_scripts/README.md diff --git a/other_scripts/README.md b/other_scripts/README.md new file mode 100644 index 0000000..84e5000 --- /dev/null +++ b/other_scripts/README.md @@ -0,0 +1,6 @@ +## 参数说明 + +| Name | 归属 | 属性 | 说明 | +| :-------------------: | :--------: | :--: | :------------------------------------ | +| GAME163.authorization | [网易云游戏](https://cg.163.com/#/pc) | Web | 网易云游戏网站请求头authorization字段 | + diff --git a/other_scripts/oc_163game.py b/other_scripts/oc_163game.py index 01caa70..7673303 100644 --- a/other_scripts/oc_163game.py +++ b/other_scripts/oc_163game.py @@ -27,7 +27,7 @@ class Game163: def main(self): msg_all = "" - authorization = str(check_item.get("authorization")) + authorization = str(self.check_items.get("authorization")) msg = self.checkin(authorization=authorization) msg_all += msg + "\n\n" return msg_all