Skip to content

Commit

Permalink
Merge pull request #2 from HYY1116/main
Browse files Browse the repository at this point in the history
修改了说明文件,新增加requirements.txt
  • Loading branch information
Maojuan-lang authored Sep 4, 2023
2 parents 5562747 + c746aa8 commit cf3bd46
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# SenKongDao
明日方舟森空岛签到Python程序

在config文件中填入uid以及cred字段,其中xxx为uid,yyy为cred字段(论坛app抓包获取),uid与cred字段用&符号隔开
1.使用pip install -r requirments.txt来安装依赖(实际上只需要requests,已安装可以跳过这步)

2.在SenKongDao_config.txt中填入uid以及cred字段,其中xxx为uid(游戏内名称下方ID,一串数字),yyy为cred字段,uid与cred字段用&符号隔开

> **Cred字段获取方式**
> 1. 打开[森空岛](https://www.skland.com)并登录,如果有多个账号需要获取,建议使用浏览器的隐身模式
>
> 3. 按下F12打开网页开发工具,切换至控制台选项卡,输入`localStorage.getItem("SK_OAUTH_CRED_KEY");`并回车
>
> 5. 控制台返回的一串长度为32的数字字母组合字符串即为所需Cred字段
>
支持多账号,每行一个账号即可

以下为某个账户的实例:

xxxxxx&yyyyyyyyyy
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
certifi>=2021.10.8
requests>=2.26.0

0 comments on commit cf3bd46

Please sign in to comment.