Skip to content

Commit

Permalink
✨ 新增(pages/history/2024-02-09.mdx):添加2024-02-09的历史记录
Browse files Browse the repository at this point in the history
  📝 更新(pages/settings/config.mdx):在设置中增加了对config.json文件格式检查的提示
  📝 更新(pages/settings/imaotai.mdx):在i茅台的设置教程中添加了获取高德地图APP Key和获取i茅台账号配置信息的详细步骤
  📝 更新(pages/settings/tieba.mdx):在贴吧的设置教程中修改了获取cookie的步骤
  📝 更新(theme.config.tsx):在主题配置中更新了banner的内容和链接
  • Loading branch information
Sitoi committed Feb 9, 2024
1 parent 185989e commit b12b5f8
Show file tree
Hide file tree
Showing 26 changed files with 121 additions and 22 deletions.
12 changes: 12 additions & 0 deletions pages/history/2024-02-09.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 2024-02-09

![PyPI](https://img.shields.io/badge/Pypi-v24.2.9-brightgreen)

## ✨ 功能

- 新增「爱奇艺」每日摇一摇功能

## 📃 文档

- 完善「i 茅台」配置获取教程
- 修复「百度贴吧」 cookie 获取方式
1 change: 1 addition & 0 deletions pages/history/_meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"2024-02-09": "2024-02-09",
"2024-02-06": "2024-02-06",
"2024-01-20": "2024-01-20",
"2024-01-16": "2024-01-16",
Expand Down
Binary file added pages/img/imaotai/code-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/code-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/code-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/code-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/code-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/code-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/code-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/gd-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/gd-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/gd-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/gd-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/gd-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/img/imaotai/gd-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@

## 🦄 教程

### 📄 文档教程

[https://sitoi.github.io/dailycheckin/](https://sitoi.github.io/dailycheckin/)

## 🧾 列表
Expand Down
2 changes: 1 addition & 1 deletion pages/install/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
type="warning"
emoji="⚠️"
>
请务必到 [http://www.json.cn](http://www.json.cn) 网站检查 `config.json`
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

Expand Down
2 changes: 1 addition & 1 deletion pages/install/local.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pip install dailycheckin --user
type="warning"
emoji="⚠️"
>
请务必到 [http://www.json.cn](http://www.json.cn) 网站检查 `config.json`
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

Expand Down
2 changes: 1 addition & 1 deletion pages/install/qinglong.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ gcc g++ make libffi-dev openssl-dev
type="warning"
emoji="⚠️"
>
请务必到 [http://www.json.cn](http://www.json.cn) 网站检查 `config.json`
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

Expand Down
2 changes: 1 addition & 1 deletion pages/install/synology.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ import { FileTree } from 'nextra/components'
type="warning"
emoji="⚠️"
>
请务必到 [http://www.json.cn](http://www.json.cn) 网站检查 `config.json`
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

Expand Down
1 change: 1 addition & 0 deletions pages/settings/aliyun.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import { Steps } from 'nextra/components'
href="/settings/youdao"
/>
</Cards>

# 阿里云盘

### 配置示例
Expand Down
24 changes: 24 additions & 0 deletions pages/settings/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ import { Steps } from 'nextra/components'

以下是一份默认的 `config.json` 配置文件,你可以直接复制到你的 `config.json` 文件中,然后修改其中的参数。

<Callout
type="warning"
emoji="⚠️"
>
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

```json filename="config.json" copy
{
"BARK_URL": "",
Expand Down Expand Up @@ -174,6 +182,14 @@ import { Steps } from 'nextra/components'
`config.json` 文件中。
</Callout>

<Callout
type="warning"
emoji="⚠️"
>
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

<Cards>
<Card
title="BARK"
Expand Down Expand Up @@ -228,6 +244,14 @@ import { Steps } from 'nextra/components'
`config.json` 文件中。
</Callout>

<Callout
type="warning"
emoji="⚠️"
>
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
文件格式是否正确!
</Callout>

<Cards>
<Card
title="AcFun"
Expand Down
78 changes: 69 additions & 9 deletions pages/settings/imaotai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,54 @@ import { Steps } from 'nextra/components'
## 获取方式

<Steps>
### 安装依赖项

```bash copy
pip install requests~=2.31.0 pycryptodome==3.17
```
### 运行 python 代码获取配置

#### 修改代码中的 `AMAP_KEY` 需要自己去[高德地图](https://console.amap.com/dev/key/app)申请
## 获取高德地图 APP Key

打开高德开放平台 [https://console.amap.com/dev/key/app](https://console.amap.com/dev/key/app)

### 点击「我的应用」

![](../img/imaotai/gd-1.png)

### 点击「创建新应用」

![](../img/imaotai/gd-2.png)

### 新建应用

![](../img/imaotai/gd-3.png)

### 点击「添加 Key」

![](../img/imaotai/gd-4.png)

### 创建 Key

输入 「Key 名称」 -> 选择 「Web 端」

![](../img/imaotai/gd-5.png)

### 复制 key

![](../img/imaotai/gd-6.png)

## 获取「i 茅台」账号配置信息

网页在线平台 [https://lightly.teamcode.com/dashboard](https://lightly.teamcode.com/dashboard)

```python filename="login.py" copy
### 新建 Python 项目

新建一个 Python 项目 将以下内容复制到 main.py,复制完后将刚刚申请的 KEY 填写进去保存

![](../img/imaotai/code-1.png)

### 编辑 main.py 文件

将以下内容复制到 `main.py`,复制完后将刚刚申请的 KEY 填写到 AMAP_KEY 中并保存。

![](../img/imaotai/code-2.png)

```python filename="main.py" copy
import hashlib
import json
import time
Expand Down Expand Up @@ -299,6 +337,28 @@ if __name__ == "__main__":
break
```

### 获取到数据后填入到 `config.json`
### 点击「终端」安装依赖项

![](../img/imaotai/code-3.png)

```bash copy
pip install requests~=2.31.0 pycryptodome==3.17
```

![](../img/imaotai/code-4.png)

### 运行 python 代码获取配置

![](../img/imaotai/code-5.png)

### 根据终端的提示输出

![](../img/imaotai/code-6.png)

### 最后输出一个 account.json 文件

![](../img/imaotai/code-7.png)

### 复制数据后填入到 `config.json`

</Steps>
1 change: 1 addition & 0 deletions pages/settings/kgqq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import { Steps } from 'nextra/components'
href="/settings/youdao"
/>
</Cards>

# 全民 K 歌

### 配置示例
Expand Down
10 changes: 6 additions & 4 deletions pages/settings/tieba.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ import { Steps } from 'nextra/components'

`F12` 打开开发者工具,刷新页面

### 使用下面的 JavaScript 代码复制所有 cookie
### 点击 Network 标签

```js copy
copy(document.cookie)
```
### 选择 Doc 标签

### 选中 tieba.baidu.com/index.html

### 下滑找到 cookie 全选复制即可

</Steps>
6 changes: 3 additions & 3 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ const config: DocsThemeConfig = {
}
},
banner: {
key: '2024.2.6-release',
key: '2024.2.9-release',
text: (
<a
href="/dailycheckin/history/2024-02-06/"
href="/dailycheckin/history/2024-02-09/"
target="_blank"
>
🎉 DailyCheckIn 2024.2.6 is released. Read more →
🎉 DailyCheckIn 2024.2.9 is released. Read more →
</a>
),
},
Expand Down

0 comments on commit b12b5f8

Please sign in to comment.