Browse Source

网易云游戏

pull/15/head
yuxian 3 years ago
parent
commit
edb3576b49
  1. 6
      other_scripts/README.md
  2. 2
      other_scripts/oc_163game.py

6
other_scripts/README.md

@ -0,0 +1,6 @@
## 参数说明
| Name | 归属 | 属性 | 说明 |
| :-------------------: | :--------: | :--: | :------------------------------------ |
| GAME163.authorization | [网易云游戏](https://cg.163.com/#/pc) | Web | 网易云游戏网站请求头authorization字段 |

2
other_scripts/oc_163game.py

@ -27,7 +27,7 @@ class Game163:
def main(self): def main(self):
msg_all = "" msg_all = ""
authorization = str(check_item.get("authorization")) authorization = str(self.check_items.get("authorization"))
msg = self.checkin(authorization=authorization) msg = self.checkin(authorization=authorization)
msg_all += msg + "\n\n" msg_all += msg + "\n\n"
return msg_all return msg_all

Loading…
Cancel
Save