From f0bb8d6a7d3251519c9ba68962072711511ccffd Mon Sep 17 00:00:00 2001 From: 1235789gzy1 <52618207+1235789gzy1@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:16:56 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E5=B8=B8=E7=94=A8UA=E7=9A=84=E6=96=B9=E6=B3=95,?= =?UTF-8?q?=E9=A1=BA=E5=B8=A6=E5=8A=A0=E5=85=A5=E4=BA=86=E5=AE=89=E8=A3=85?= =?UTF-8?q?PyYAML=E7=9A=84=E5=91=BD=E4=BB=A4=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index fc80cef..5b905ef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # 米游社辅助签到 ### 使用Json格式的用户请注意,在版本更新后配置文件格式从json换成yaml了,需要安装`PyYAML`模块脚本才能正常工作 +- 本地运行使用 `pip install PyYAML` 上传云函数运行则使用 `pip install PyYAML -t .` 基于Python3的米游社辅助签到项目 @@ -67,6 +68,13 @@ 7. **此时Cookie已经复制到你的粘贴板上了** +## 获取设备UA +1. 使用常用的移动端设备访问 `https://www.ip138.com/useragent/` + +2. 复制网页内容中的 `客户端获取的UserAgent` + +3. 替换配置文件中 `useragent` 的原始内容 + ## 使用Docker运行 Docker的运行脚本基于Linux平台编写,暂未在Win平台测试。 From 0fc01e509aefc0f17e259dc28870d7bcb702c0e1 Mon Sep 17 00:00:00 2001 From: 1235789gzy1 <52618207+1235789gzy1@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:21:40 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B6=88=E9=99=A4=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84=E6=AD=A7=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b905ef..3668e6e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ 2. 复制网页内容中的 `客户端获取的UserAgent` -3. 替换配置文件中 `useragent` 的原始内容 +3. 替换配置文件中 `useragent` 下的原始内容 ## 使用Docker运行 From 322c05bf4be3bf94f9c89fff593c2902c5c2bd6c Mon Sep 17 00:00:00 2001 From: 1235789gzy1 <52618207+1235789gzy1@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:34:11 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=84=9F=E8=A7=89=E8=B6=8A=E6=94=B9?= =?UTF-8?q?=E8=B6=8A=E6=80=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3668e6e..5b905ef 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ 2. 复制网页内容中的 `客户端获取的UserAgent` -3. 替换配置文件中 `useragent` 下的原始内容 +3. 替换配置文件中 `useragent` 的原始内容 ## 使用Docker运行