✨ 新增(docs):添加文档
✨ 新增(docs-publish.yml):添加GitHub Actions工作流程,自动部署文档 🔧 更新(.gitignore):忽略.next和node_modules文件夹
32
.github/workflows/docs-publish.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: ./docs
|
||||
|
||||
jobs:
|
||||
github_pages_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.9.1
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20.x
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm install
|
||||
npm run export
|
||||
- name: Deploy with gh-pages
|
||||
run: |
|
||||
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
||||
npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
5
.gitignore
vendored
@ -130,4 +130,7 @@ dmypy.json
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
.idea
|
||||
config.json
|
||||
config.json
|
||||
|
||||
.next
|
||||
node_modules
|
||||
|
6
docs/components/counters.module.css
Normal file
@ -0,0 +1,6 @@
|
||||
.counter {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
padding: 2px 6px;
|
||||
margin: 12px 0 0;
|
||||
}
|
24
docs/components/counters.tsx
Normal file
@ -0,0 +1,24 @@
|
||||
// Example from https://beta.reactjs.org/learn
|
||||
|
||||
import { useState } from 'react'
|
||||
import styles from './counters.module.css'
|
||||
|
||||
function MyButton() {
|
||||
const [count, setCount] = useState(0)
|
||||
|
||||
function handleClick() {
|
||||
setCount(count + 1)
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<button onClick={handleClick} className={styles.counter}>
|
||||
Clicked {count} times
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function MyApp() {
|
||||
return <MyButton />
|
||||
}
|
5
docs/next-env.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
25
docs/next.config.js
Normal file
@ -0,0 +1,25 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const withNextra = require('nextra')({
|
||||
theme: 'nextra-theme-docs',
|
||||
themeConfig: './theme.config.tsx',
|
||||
})
|
||||
|
||||
const isProduction = process.env.NODE_ENV === 'production'
|
||||
const assetPrefix = isProduction ? '/dailycheckin' : ''
|
||||
|
||||
const nextConfig = {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
trailingSlash: true,
|
||||
assetPrefix,
|
||||
basePath: assetPrefix,
|
||||
output: 'export',
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
...withNextra(),
|
||||
...nextConfig,
|
||||
}
|
5574
docs/package-lock.json
generated
Normal file
34
docs/package.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "dailycheckin-docs",
|
||||
"version": "2024-01-14",
|
||||
"description": "DailyCheckIn docs",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"export": "next build && touch out/.nojekyll",
|
||||
"deploy": "gh-pages -d out -t true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Sitoi/dailycheckin.git"
|
||||
},
|
||||
"author": "Sitoi",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Sitoi/dailycheckin/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Sitoi/dailycheckin#readme",
|
||||
"dependencies": {
|
||||
"next": "14.0.4",
|
||||
"nextra": "latest",
|
||||
"nextra-theme-docs": "latest",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "18.11.10",
|
||||
"typescript": "^4.9.3",
|
||||
"gh-pages": "^6.1.1"
|
||||
}
|
||||
}
|
6
docs/pages/_meta.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"index": "项目介绍",
|
||||
"install": "部署方法",
|
||||
"settings": "配置说明",
|
||||
"history": "更新日志"
|
||||
}
|
251
docs/pages/history.mdx
Normal file
@ -0,0 +1,251 @@
|
||||
# 更新日志
|
||||
|
||||
> 2024 年前的更新日志
|
||||
|
||||
#### 2023-10-18
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v23.10.18-brightgreen)
|
||||
|
||||
- 删除失效脚本
|
||||
|
||||
#### 2023-02-21
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.4.0-brightgreen)
|
||||
|
||||
- 修复&删除失效脚本
|
||||
|
||||
#### 2022-04-26
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.3.8-brightgreen)
|
||||
|
||||
- 修复【百度贴吧】签到功能
|
||||
- 删除【吾爱破解】&【网易云音乐】
|
||||
|
||||
#### 2022-03-17
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.3.7-brightgreen)
|
||||
|
||||
- 新增【多看阅读】延期功能
|
||||
- 新增【Bilibili】银瓜子兑换功能
|
||||
- 新增【爱奇艺】WEB 签到功能
|
||||
- 修复【爱奇艺】签到功能
|
||||
|
||||
#### 2021-11-04
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.3.4-brightgreen)
|
||||
|
||||
- 新增【联通沃邮箱】网页端和客户端任务
|
||||
- 新增【联通沃邮箱】是否 21 天断签配置
|
||||
- 修复【联通沃邮箱】俱乐部签到
|
||||
- 移除【联通沃邮箱】拼图活动
|
||||
|
||||
#### 2021-10-13
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.3.1-brightgreen)
|
||||
|
||||
- 修复【联通沃邮箱】脚本
|
||||
- 完善【欢太商城】脚本
|
||||
- 修复【pushplus 推送】限制,改为分开推送
|
||||
- 添加最新版本内容推送
|
||||
|
||||
#### 2021-10-11
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.2.6-brightgreen)
|
||||
|
||||
- 修复【联通沃邮箱】脚本
|
||||
|
||||
#### 2021-10-09
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.2.5-brightgreen)
|
||||
|
||||
- 添加推送合并或拆分功能
|
||||
- 优化企业微信推送
|
||||
|
||||
#### 2021-09-22
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.2.2-brightgreen)
|
||||
|
||||
- 添加【时光相册】签到脚本
|
||||
- 优化日志输出
|
||||
- Bark 通知改为分批发送
|
||||
- 修复【联通营业厅】日志错误
|
||||
|
||||
#### 2021-09-20
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.2.1-brightgreen)
|
||||
|
||||
- 移除【每日天气】
|
||||
- 添加【联通营业厅】脚本
|
||||
- 更新【联通沃邮箱】每日签到脚本(21 天自动断签)
|
||||
- 优化配置文件
|
||||
|
||||
#### 2021-09-20
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.9-brightgreen)
|
||||
|
||||
- 优化项目结构
|
||||
- 添加【欢太商城】脚本
|
||||
|
||||
#### 2021-09-19
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.8-brightgreen)
|
||||
|
||||
- 优化日志输出
|
||||
- 移除每日一句脚本
|
||||
|
||||
#### 2021-09-03
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.7-brightgreen)
|
||||
|
||||
- 修复【小米运动】签到脚本
|
||||
- 修复【爱奇艺】签到脚本
|
||||
- 适配青龙
|
||||
- 支持指定运行某个脚本
|
||||
|
||||
#### 2021-08-18
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.4-brightgreen)
|
||||
|
||||
- 修复【小米运动】签到脚本
|
||||
|
||||
#### 2021-07-29
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.3-brightgreen)
|
||||
|
||||
- 修复【天翼云】签到脚本
|
||||
- 修复【AcFun】签到脚本
|
||||
- 添加【飞书】推送功能
|
||||
|
||||
#### 2021-07-05
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.1-brightgreen)
|
||||
|
||||
- 修复【Bilibili】签到脚本
|
||||
|
||||
#### 2021-06-01
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.1.0-brightgreen)
|
||||
|
||||
- 删除【联通】&【WPS】签到脚本
|
||||
|
||||
#### 2021-05-30
|
||||
|
||||
- ![PyPI](https://img.shields.io/badge/Pypi-v0.0.8-brightgreen)
|
||||
|
||||
- 更新【联通沃邮箱】每日签到脚本
|
||||
|
||||
#### 2021-04-28
|
||||
|
||||
- 添加【联通沃邮箱】每日签到脚本 感谢水友`@什么大风大浪都见过` 提供脚本
|
||||
|
||||
#### 2021-04-07
|
||||
|
||||
- 添加【王者营地】每日签到脚本
|
||||
- 添加【CSDN】每日签到脚本
|
||||
- 添加【AcFun】每日分享任务功能
|
||||
|
||||
#### 2021-03-30
|
||||
|
||||
- 添加【微博】每日签到脚本
|
||||
- 添加【多看阅读】每日签到脚本
|
||||
|
||||
#### 2021-03-16
|
||||
|
||||
- 添加【智友邦】每日签到脚本
|
||||
|
||||
#### 2021-03-10
|
||||
|
||||
- 添加【爱奇艺】10s 任务
|
||||
|
||||
#### 2021-03-09
|
||||
|
||||
- 添加【pushplus】推送功能
|
||||
- 添加【配置文件】GitHub Actions 使用整个 config.json 配置文件
|
||||
|
||||
#### 2021-03-06
|
||||
|
||||
- 添加【和彩云】签到和抽奖功能
|
||||
|
||||
#### 2021-03-03
|
||||
|
||||
- 添加【MEIZU 社区】签到和抽奖功能
|
||||
|
||||
#### 2021-03-02
|
||||
|
||||
- 添加【企业微信群机器人】推送功能
|
||||
- 添加【企业微信应用消息】推送功能
|
||||
|
||||
#### 2021-03-01
|
||||
|
||||
- 添加【哔咔漫画】每日签到脚本
|
||||
- 添加【芒果 TV】每日签到脚本
|
||||
|
||||
#### 2021-02-23
|
||||
|
||||
- 添加【WPS】每日签到脚本
|
||||
- 添加【吾爱破解】每日签到脚本
|
||||
|
||||
#### 2021-02-21
|
||||
|
||||
- 添加【全民 K 歌】VIP 每日签到脚本
|
||||
|
||||
#### 2021-02-20
|
||||
|
||||
- 添加【server 酱 turbo 版】推送功能
|
||||
|
||||
#### 2021-01-27
|
||||
|
||||
- 添加【天翼云盘】每日签到脚本
|
||||
|
||||
#### 2021-01-22
|
||||
|
||||
- 添加【AcFun】每日签到脚本
|
||||
|
||||
#### 2021-01-19
|
||||
|
||||
- 添加【Bark】推送功能
|
||||
|
||||
#### 2021-01-16
|
||||
|
||||
- 添加【小米运动】刷步数功能
|
||||
|
||||
#### 2021-01-07
|
||||
|
||||
- 添加【什么值得买】每日签到脚本
|
||||
- 添加【咔叽网单】每日签到脚本
|
||||
- 添加【V2EX】每日签到脚本
|
||||
|
||||
#### 2021-01-03
|
||||
|
||||
- 添加【联通】每日签到脚本
|
||||
|
||||
#### 2020-12-22
|
||||
|
||||
- 添加【Cool Push】推送功能
|
||||
|
||||
#### 2020-12-21
|
||||
|
||||
- 添加【bilibili】每日签到脚本
|
||||
- 添加【百度贴吧】每日签到脚本
|
||||
|
||||
#### 2020-12-19
|
||||
|
||||
- 添加【Fa 米家 App】每日签到脚本
|
||||
|
||||
#### 2020-12-10
|
||||
|
||||
- 添加【一加手机社区官方论坛】每日签到脚本
|
||||
|
||||
#### 2020-12-07
|
||||
|
||||
- 添加【每日天气】预报
|
||||
- 添加【每日一句】获取
|
||||
|
||||
#### 2020-12-06
|
||||
|
||||
- 添加【网易云音乐】每日签到脚本
|
||||
- 添加【腾讯视频】每日签到脚本
|
||||
- 添加【吾爱破解】每日签到脚本
|
||||
- 添加【有道云笔记】每日签到脚本
|
||||
- 添加【爱奇艺】每日签到脚本
|
||||
- 添加【百度站点】每日提交脚本
|
7
docs/pages/history/2024-01-07.mdx
Normal file
@ -0,0 +1,7 @@
|
||||
# 2024-01-07
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.1.7-brightgreen)
|
||||
|
||||
## 🐛 修复
|
||||
|
||||
- 修复 Bilibili 兑换银瓜子 BUG
|
24
docs/pages/history/2024-01-13.mdx
Normal file
@ -0,0 +1,24 @@
|
||||
# 2024-01-13
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.1.13-brightgreen)
|
||||
|
||||
## ✨ 功能
|
||||
|
||||
- 新增「阿里云盘」签到
|
||||
- 新增「i 茅台」申购
|
||||
- 新增「什么值得买」签到
|
||||
|
||||
## 🐛 修复
|
||||
|
||||
- 修复「bilibili」大会员奖励领取
|
||||
|
||||
## 🔥 删除
|
||||
|
||||
- 删除「Fa 米家」
|
||||
|
||||
## 📃 文档
|
||||
|
||||
- 详细说明每个签到信息获取方式
|
||||
- 删除「腾讯云函数」部署(收费了)
|
||||
- 删除「阿里云函数」部署(收费了)
|
||||
- 删除「elecV2P」部署
|
40
docs/pages/history/2024-01-14.mdx
Normal file
@ -0,0 +1,40 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
|
||||
# 2024-01-14
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.1.14-brightgreen)
|
||||
|
||||
## ✨ 功能
|
||||
|
||||
- 新增「爱奇艺」刷观看时长、领域 VIP7 升级星钻会员等功能
|
||||
|
||||
## 📦 部署
|
||||
|
||||
- 更新 Docker 部署
|
||||
|
||||
- 优化自定义定时任务方式(建议优化)
|
||||
|
||||
## ⚠️ 建议
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
建议 Docker 用户 和 群晖用户 升级 Docker Image。
|
||||
</Callout>
|
||||
|
||||
1. 备份 config.json 文件
|
||||
2. 更新 image 镜像{' '}
|
||||
|
||||
```bash copy
|
||||
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
|
||||
```
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
建议 其他方式部署的用户,更改定时时间到早上 09:00-10:00(茅台申购时间段)。
|
||||
</Callout>
|
||||
|
||||
1. 修改 crontab 定时配置即可
|
13
docs/pages/history/2024-01-16.mdx
Normal file
@ -0,0 +1,13 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
|
||||
# 2024-01-16
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.1.16-brightgreen)
|
||||
|
||||
## 🐛 修复
|
||||
|
||||
- 修复「爱奇艺」每日签到 BUG
|
||||
|
||||
## 📄 文档
|
||||
|
||||
- 更新 群晖 部署教程
|
7
docs/pages/history/2024-01-20.mdx
Normal file
@ -0,0 +1,7 @@
|
||||
# 2024-01-20
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.1.20-brightgreen)
|
||||
|
||||
## ✨ 功能
|
||||
|
||||
- 新增「恩山无线论坛」签到
|
16
docs/pages/history/2024-02-06.mdx
Normal file
@ -0,0 +1,16 @@
|
||||
# 2024-02-06
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.2.6-brightgreen)
|
||||
|
||||
## ✨ 功能
|
||||
|
||||
- 新增「奥拉星」签到
|
||||
|
||||
## 💄 优化
|
||||
|
||||
- 优化「什么值得买」日志输出
|
||||
- 优化「i 茅台」日志输出
|
||||
|
||||
## 📃 文档
|
||||
|
||||
- 修复多个 cookie 获取方式
|
12
docs/pages/history/2024-02-09.mdx
Normal file
@ -0,0 +1,12 @@
|
||||
# 2024-02-09
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.2.9-brightgreen)
|
||||
|
||||
## ✨ 功能
|
||||
|
||||
- 新增「爱奇艺」每日摇一摇功能
|
||||
|
||||
## 📃 文档
|
||||
|
||||
- 完善「i 茅台」配置获取教程
|
||||
- 修复「百度贴吧」 cookie 获取方式
|
22
docs/pages/history/2024-02-16.mdx
Normal file
@ -0,0 +1,22 @@
|
||||
# 2024-02-16
|
||||
|
||||
![PyPI](https://img.shields.io/badge/Pypi-v24.2.16-brightgreen)
|
||||
|
||||
## ✨ 功能
|
||||
|
||||
- 新增「i 茅台」支持自定义申购选择
|
||||
|
||||
```json copy
|
||||
{
|
||||
"10941": "53%vol 500ml贵州茅台酒(甲辰龙年)",
|
||||
"10942": "53%vol 375ml×2贵州茅台酒(甲辰龙年)",
|
||||
"10056": "53%vol 500ml茅台1935",
|
||||
"2478": "53%vol 500ml贵州茅台酒(珍品)"
|
||||
}
|
||||
```
|
||||
|
||||
默认配置申购 `["10941", "10942"]`
|
||||
|
||||
## 🐛 修复
|
||||
|
||||
- 修复「爱奇艺」逛会员优选任务
|
10
docs/pages/history/_meta.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"2024-02-16": "2024-02-16",
|
||||
"2024-02-09": "2024-02-09",
|
||||
"2024-02-06": "2024-02-06",
|
||||
"2024-01-20": "2024-01-20",
|
||||
"2024-01-16": "2024-01-16",
|
||||
"2024-01-14": "2024-01-14",
|
||||
"2024-01-13": "2024-01-13",
|
||||
"2024-01-07": "2024-01-07"
|
||||
}
|
BIN
docs/pages/img/imaotai/code-1.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
docs/pages/img/imaotai/code-2.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
docs/pages/img/imaotai/code-3.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
docs/pages/img/imaotai/code-4.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
docs/pages/img/imaotai/code-5.png
Normal file
After Width: | Height: | Size: 131 KiB |
BIN
docs/pages/img/imaotai/code-6.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
docs/pages/img/imaotai/code-7.png
Normal file
After Width: | Height: | Size: 131 KiB |
BIN
docs/pages/img/imaotai/gd-1.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
docs/pages/img/imaotai/gd-2.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
docs/pages/img/imaotai/gd-3.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
docs/pages/img/imaotai/gd-4.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
docs/pages/img/imaotai/gd-5.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
docs/pages/img/imaotai/gd-6.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
docs/pages/img/iqiyi_cookie.png
Executable file
After Width: | Height: | Size: 565 KiB |
BIN
docs/pages/img/qinglong/1.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
docs/pages/img/qinglong/10.png
Normal file
After Width: | Height: | Size: 398 KiB |
BIN
docs/pages/img/qinglong/11.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
docs/pages/img/qinglong/12.png
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
docs/pages/img/qinglong/13.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
docs/pages/img/qinglong/14.png
Normal file
After Width: | Height: | Size: 258 KiB |
BIN
docs/pages/img/qinglong/15.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
docs/pages/img/qinglong/16.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
docs/pages/img/qinglong/17.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
docs/pages/img/qinglong/18.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
docs/pages/img/qinglong/2.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
docs/pages/img/qinglong/3.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
docs/pages/img/qinglong/4.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
docs/pages/img/qinglong/5.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
docs/pages/img/qinglong/6.png
Normal file
After Width: | Height: | Size: 119 KiB |
BIN
docs/pages/img/qinglong/7.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
docs/pages/img/qinglong/8.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
docs/pages/img/qinglong/9.png
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
docs/pages/img/qmsg-error.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
docs/pages/img/submit_url.png
Executable file
After Width: | Height: | Size: 36 KiB |
BIN
docs/pages/img/synology/01.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
docs/pages/img/synology/02.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
docs/pages/img/synology/03.png
Normal file
After Width: | Height: | Size: 95 KiB |
BIN
docs/pages/img/synology/04.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
docs/pages/img/synology/05.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
docs/pages/img/synology/06.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
docs/pages/img/synology/07.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
docs/pages/img/synology/08.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
docs/pages/img/synology/09.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
docs/pages/img/synology/10.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
docs/pages/img/synology/11.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
docs/pages/img/synology/12.png
Normal file
After Width: | Height: | Size: 196 KiB |
BIN
docs/pages/img/synology/13.png
Normal file
After Width: | Height: | Size: 795 KiB |
BIN
docs/pages/img/synology/14.png
Normal file
After Width: | Height: | Size: 273 KiB |
129
docs/pages/index.md
Normal file
@ -0,0 +1,129 @@
|
||||
<a name="readme-top"></a>
|
||||
|
||||
<div align="center">
|
||||
|
||||
<img src="https://socialify.git.ci/Sitoi/dailycheckin/image?font=Rokkitt&forks=1&issues=1&language=1&name=1&owner=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Dark">
|
||||
|
||||
<h1>DailyCheckIn</h1>
|
||||
|
||||
基于「Docker」/「青龙面板」/「群晖」/「本地」的每日签到脚本
|
||||
|
||||
</div>
|
||||
|
||||
## 📢 声明
|
||||
|
||||
- 本仓库发布的脚本及其中涉及的任何解锁和解密分析脚本,仅用于测试和学习研究,禁止用于商业用途,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。
|
||||
|
||||
- 本项目内所有资源文件,禁止任何公众号、自媒体进行任何形式的转载、发布。
|
||||
|
||||
- 本人对任何脚本问题概不负责,包括但不限于由任何脚本错误导致的任何损失或损害。
|
||||
|
||||
- 间接使用脚本的任何用户,包括但不限于建立 VPS 或在某些行为违反国家/地区法律或相关法规的情况下进行传播, 本人对于由此引起的任何隐私泄漏或其他后果概不负责。
|
||||
|
||||
- 请勿将本仓库的任何内容用于商业或非法目的,否则后果自负。
|
||||
|
||||
- 如果任何单位或个人认为该项目的脚本可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,我们将在收到认证文件后删除相关脚本。
|
||||
|
||||
- 任何以任何方式查看此项目的人或直接或间接使用该项目的任何脚本的使用者都应仔细阅读此声明。本人保留随时更改或补充此免责声明的权利。一旦使用并复制了任何相关脚本或 Script 项目的规则,则视为您已接受此免责声明。
|
||||
|
||||
**您必须在下载后的 24 小时内从计算机或手机中完全删除以上内容**
|
||||
|
||||
> **_您使用或者复制了本仓库且本人制作的任何脚本,则视为 `已接受` 此声明,请仔细阅读_**
|
||||
|
||||
## ✨ 特性
|
||||
|
||||
- 📦 支持 Pypi 包安装
|
||||
- 💻 支持多个平台部署
|
||||
- ⚙️ 支持多个平台签到
|
||||
- 📢 支持多个平台通知
|
||||
- ♾️ 支持多个账号签到
|
||||
- 🕙 支持定时任务设置
|
||||
- 🆙 支持项目自动更新
|
||||
|
||||
## 🦄 教程
|
||||
|
||||
[https://sitoi.github.io/dailycheckin/](https://sitoi.github.io/dailycheckin/)
|
||||
|
||||
## 🧾 列表
|
||||
|
||||
🟢: 正常运行 🔴: 脚本暂不可用 🔵: 可以执行(需更新) 🟡: 待测试 🟤: 看脸
|
||||
|
||||
| 状态 | 任务名称 | 名称网站 | 检查日期 | 备注 |
|
||||
| ---- | -------- | ---------------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------- |
|
||||
| 🟢️ | KGQQ | [全民 K 歌](https://kg.qq.com/index-pc.html) | 24.01.13 | 每日签到获取鲜花 每日大约 125 鲜花左右 |
|
||||
| 🟢️ | YOUDAO | [有道云笔记](https://note.youdao.com/web/) | 24.01.13 | 每日签到获取存储空间 |
|
||||
| 🟢️ | TIEBA | [百度贴吧](https://tieba.baidu.com/index.html) | 24.01.13 | 贴吧每日签到 |
|
||||
| 🟢️ | BILIBILI | [BiliBili](https://www.bilibili.com/) | 24.01.13 | 直播签到,漫画签到,每日经验任务,自动投币,银瓜子换硬币等功能 |
|
||||
| 🟢️ | V2EX | [V2EX](https://www.v2ex.com/) | 24.01.13 | 铜币奖励 |
|
||||
| 🟢️ | ACFUN | [AcFun](https://www.acfun.cn/) | 24.01.13 | 每日签到香蕉 |
|
||||
| 🟢️ | IQIYI | [爱奇艺](https://www.iqiyi.com/) | 24.01.13 | 签 3 天奖 1 天,7 天奖 1 天,14 天奖 1 天,满签奖 5 天;日常任务 4 成长值;随机成长值;三次抽奖 |
|
||||
| 🟢️ | SMZDM | [什么值得买](https://www.smzdm.com/) | 24.01.13 | 签到和抽奖 |
|
||||
| 🟢️ | ALIYUN | [阿里云盘](https://www.aliyundrive.com/drive/) | 24.01.13 | 签到获取免费会员和空间 |
|
||||
| 🟢️ | ENSHAN | [恩山无线论坛](https://www.right.com.cn/forum/) | 24.01.13 | 签到获取硬币和积分 |
|
||||
| 🟢️ | AOLAXING | [奥拉星](http://www.100bt.com/m/creditMall/?gameId=2#task) | 24.02.06 | 签到获取积分 |
|
||||
| 🟢️ | IMAOTAI | i 茅台 | 24.01.13 | 申购生肖茅台 |
|
||||
| 🟤 | MIMOTION | 小米运动 | 24.01.13 | 每日小米运动刷步数 |
|
||||
| 🟢️ | BAIDU | [百度站点](https://ziyuan.baidu.com/site/index#/) | 24.01.13 | 提交网站页面供百度收录 |
|
||||
|
||||
## 💬 通知列表
|
||||
|
||||
- dingtalk(钉钉)
|
||||
- 企业微信群机器人(企业微信)
|
||||
- 企业微信应用消息(企业微信)
|
||||
- telegram(TG)
|
||||
- Bark(iOS)
|
||||
- server 酱(微信)
|
||||
- server 酱 TURBO(微信)
|
||||
- pushplus(微信)
|
||||
- Cool Push(QQ,微信,邮箱)
|
||||
- qmsg 酱(QQ)
|
||||
- 飞书(飞书)
|
||||
|
||||
## 🤝 参与贡献
|
||||
|
||||
我们非常欢迎各种形式的贡献。如果你对贡献代码感兴趣,可以查看我们的 GitHub [Issues][github-issues-link],大展身手,向我们展示你的奇思妙想。
|
||||
|
||||
[![][pr-welcome-shield]][pr-welcome-link]
|
||||
|
||||
### 💗 感谢我们的贡献者
|
||||
|
||||
[![][github-contrib-shield]][github-contrib-link]
|
||||
|
||||
## ✨ Star 数
|
||||
|
||||
[![][starchart-shield]][starchart-link]
|
||||
|
||||
---
|
||||
|
||||
## 📝 License
|
||||
|
||||
This project is [MIT](./LICENSE) licensed.
|
||||
|
||||
<!-- LINK GROUP -->
|
||||
|
||||
[github-codespace-link]: https://codespaces.new/sitoi/dailycheckin
|
||||
[github-codespace-shield]: https://github.com/sitoi/dailycheckin/blob/main/images/codespaces.png?raw=true
|
||||
[github-contributors-link]: https://github.com/sitoi/dailycheckin/graphs/contributors
|
||||
[github-contributors-shield]: https://img.shields.io/github/contributors/sitoi/dailycheckin?color=c4f042&labelColor=black&style=flat-square
|
||||
[github-forks-link]: https://github.com/sitoi/dailycheckin/network/members
|
||||
[github-forks-shield]: https://img.shields.io/github/forks/sitoi/dailycheckin?color=8ae8ff&labelColor=black&style=flat-square
|
||||
[github-issues-link]: https://github.com/sitoi/dailycheckin/issues
|
||||
[github-issues-shield]: https://img.shields.io/github/issues/sitoi/dailycheckin?color=ff80eb&labelColor=black&style=flat-square
|
||||
[github-license-link]: https://github.com/sitoi/dailycheckin/blob/main/LICENSE
|
||||
[github-license-shield]: https://img.shields.io/github/license/sitoi/dailycheckin?color=white&labelColor=black&style=flat-square
|
||||
[github-stars-link]: https://github.com/sitoi/dailycheckin/network/stargazers
|
||||
[github-stars-shield]: https://img.shields.io/github/stars/sitoi/dailycheckin?color=ffcb47&labelColor=black&style=flat-square
|
||||
[pr-welcome-link]: https://github.com/sitoi/dailycheckin/pulls
|
||||
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
||||
[github-contrib-link]: https://github.com/sitoi/dailycheckin/graphs/contributors
|
||||
[github-contrib-shield]: https://contrib.rocks/image?repo=sitoi%2Fdailycheckin
|
||||
[docker-pull-shield]: https://img.shields.io/docker/pulls/sitoi/dailycheckin?color=ffcb47&labelColor=black&style=flat-square
|
||||
[docker-pull-link]: https://hub.docker.com/repository/docker/sitoi/
|
||||
[docker-size-shield]: https://img.shields.io/docker/image-size/sitoi/dailycheckin?color=ffcb47&labelColor=black&style=flat-square
|
||||
[docker-size-link]: https://hub.docker.com/repository/docker/sitoi/dailycheckin
|
||||
[docker-stars-shield]: https://img.shields.io/docker/stars/sitoi/dailycheckin?color=ffcb47&labelColor=black&style=flat-square
|
||||
[docker-stars-link]: https://hub.docker.com/repository/docker/sitoi/dailycheckin
|
||||
[pypi-dm-shield]: https://img.shields.io/pypi/dm/dailycheckin?label=pypi&color=ffcb47&labelColor=black&style=flat-square
|
||||
[pypi-dm-link]: https://pypi.org/project/dailycheckin/
|
||||
[starchart-shield]: https://starchart.cc/Sitoi/dailycheckin.svg
|
||||
[starchart-link]: https://starchart.cc/Sitoi/dailycheckin
|
6
docs/pages/install/_meta.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"docker": "Docker 部署",
|
||||
"qinglong": "青龙部署",
|
||||
"synology": "群辉部署",
|
||||
"local": "手动部署"
|
||||
}
|
153
docs/pages/install/docker.mdx
Normal file
@ -0,0 +1,153 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
import { FileTree } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="手动部署"
|
||||
href="/install/local"
|
||||
/>
|
||||
<Card
|
||||
title="青龙部署"
|
||||
href="/install/qinglong"
|
||||
/>
|
||||
<Card
|
||||
title="群晖部署"
|
||||
href="/install/synology"
|
||||
/>
|
||||
</Cards>
|
||||
# Docker 使用教程
|
||||
|
||||
## 一、安装
|
||||
|
||||
运行如下命令一键启动并创建服务
|
||||
|
||||
```bash copy
|
||||
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
|
||||
```
|
||||
|
||||
> 运行成功会自动创建如下目录结构, 并成功启动 docker 服务。
|
||||
|
||||
<FileTree>
|
||||
<FileTree.Folder
|
||||
name="."
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.Folder
|
||||
name="config"
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.File name="config.json" />
|
||||
</FileTree.Folder>
|
||||
<FileTree.Folder
|
||||
name="cron"
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.File name="crontab_list.sh" />
|
||||
</FileTree.Folder>
|
||||
<FileTree.Folder
|
||||
name="logs"
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.File name="default_task.log" />
|
||||
</FileTree.Folder>
|
||||
<FileTree.File name="docker-compose.yml" />
|
||||
|
||||
</FileTree.Folder>
|
||||
</FileTree>
|
||||
|
||||
- `./config/config.json`: 配置文件
|
||||
- `./cron/crontab_list.sh`: 配置定时任务的文件
|
||||
- `./logs`: 日志文件
|
||||
- `./docker-compose.yml`: docker 启动文件(只在有 docker-compose 的情况下创建)
|
||||
|
||||
## 二、配置
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
|
||||
文件格式是否正确!
|
||||
</Callout>
|
||||
|
||||
文件路径: `./config/config.json`
|
||||
|
||||
参考[配置说明文档](/settings/config) ,并修改 `config.json`
|
||||
|
||||
## 三、定时
|
||||
|
||||
修改 `./cron/crontab_list.sh` 文件, 根据实际情况修改下面的默认文件。
|
||||
|
||||
```bash filename="crontab_list.sh" copy
|
||||
##############默认任务##############
|
||||
# 每 12 小时更新 Pipy 包,如果不需要更新 pypi 包请注释掉下面这行
|
||||
0 */12 * * * echo "定时任务更新依赖..." && pip install dailycheckin --upgrade --user >> /dailycheckin/logs/update-pypi.log 2>&1
|
||||
# 每天的 23:50 分清理一次日志
|
||||
50 23 */2 * * rm -rf /dailycheckin/logs/*.log
|
||||
|
||||
##############每日签到一次任务##############
|
||||
# 每日签到(9:00 执行全部签到)
|
||||
0 9 * * * cd /dailycheckin && dailycheckin >> /dailycheckin/logs/dailycheckin.log 2>&1
|
||||
```
|
||||
|
||||
## 四、运行
|
||||
|
||||
#### 运行全部脚本
|
||||
|
||||
```bash copy
|
||||
docker exec -it dailycheckin dailycheckin
|
||||
```
|
||||
|
||||
#### 运行指定脚本(包含),可以同时选择多个,用「空格」分开
|
||||
|
||||
```bash copy
|
||||
docker exec -it dailycheckin dailycheckin --include MUSIC163 BAIDU
|
||||
```
|
||||
|
||||
#### 运行指定脚本(排除),可以同时选择多个,用「空格」分开
|
||||
|
||||
```bash copy
|
||||
docker exec -it dailycheckin dailycheckin --exclude MUSIC163 BAIDU
|
||||
```
|
||||
|
||||
## 更新 Pypi
|
||||
|
||||
```bash copy
|
||||
docker exec dailycheckin sh /dailycheckin/default_task.sh
|
||||
```
|
||||
|
||||
## 升级 Docker Image
|
||||
|
||||
```bash copy
|
||||
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
|
||||
```
|
||||
|
||||
## 附录
|
||||
|
||||
### docker-compose 安装
|
||||
|
||||
##### 方式一(Python 环境)
|
||||
|
||||
```bash copy
|
||||
pip3 install docker-compose
|
||||
```
|
||||
|
||||
##### 方式二
|
||||
|
||||
```bash copy
|
||||
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
```
|
||||
|
||||
通过 `docker-compose version` 查看 `docker-compose` 版本,确认是否安装成功。
|
||||
|
||||
### docker-compose 常用命令
|
||||
|
||||
- `docker-compose logs` 打印日志
|
||||
- `docker-compose pull` 更新镜像
|
||||
- `docker-compose stop` 停止容器
|
||||
- `docker-compose restart` 重启容器
|
||||
- `docker-compose down` 停止并删除容器
|
||||
- `docker exec -it dailycheckin sh` 进入 docker
|
63
docs/pages/install/local.mdx
Normal file
@ -0,0 +1,63 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Callout } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="Docker 部署"
|
||||
href="/install/docker"
|
||||
/>
|
||||
<Card
|
||||
title="青龙部署"
|
||||
href="/install/qinglong"
|
||||
/>
|
||||
<Card
|
||||
title="群晖部署"
|
||||
href="/install/synology"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 手动部署
|
||||
|
||||
## 一、安装
|
||||
|
||||
```bash copy
|
||||
pip install dailycheckin --user
|
||||
```
|
||||
|
||||
## 二、配置
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
|
||||
文件格式是否正确!
|
||||
</Callout>
|
||||
|
||||
在项目目录下新建并编写 `config.json` 配置文件,参考[配置说明文档](/settings/config) ,并修改 `config.json`
|
||||
|
||||
## 三、运行
|
||||
|
||||
1. 运行全部脚本
|
||||
|
||||
```bash copy
|
||||
dailycheckin
|
||||
```
|
||||
|
||||
2. 运行指定脚本(包含),可以同时选择多个,用「空格」分开
|
||||
|
||||
```bash copy
|
||||
dailycheckin --include MUSIC163 BAIDU
|
||||
```
|
||||
|
||||
3. 运行指定脚本(排除),可以同时选择多个,用「空格」分开
|
||||
|
||||
```bash copy
|
||||
dailycheckin --exclude MUSIC163 BAIDU
|
||||
```
|
||||
|
||||
## 四、更新
|
||||
|
||||
```bash copy
|
||||
pip install dailycheckin --user --upgrade
|
||||
```
|
113
docs/pages/install/qinglong.mdx
Normal file
@ -0,0 +1,113 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="手动部署"
|
||||
href="/install/local"
|
||||
/>
|
||||
<Card
|
||||
title="Docker 部署"
|
||||
href="/install/docker"
|
||||
/>
|
||||
<Card
|
||||
title="群晖部署"
|
||||
href="/install/synology"
|
||||
/>
|
||||
</Cards>
|
||||
# 青龙使用教程
|
||||
|
||||
## 一、安装
|
||||
|
||||
<Steps>
|
||||
### 选择「依赖管理」
|
||||
|
||||
![点击依赖管理](../img/qinglong/1.png)
|
||||
|
||||
### 新建 Linux 依赖
|
||||
|
||||
#### 1. 点击 Linux
|
||||
|
||||
![点击 Linux](../img/qinglong/2.png)
|
||||
|
||||
#### 2. 点击新建依赖
|
||||
|
||||
![点击新建依赖](../img/qinglong/3.png)
|
||||
|
||||
#### 3. 输入依赖
|
||||
|
||||
```text copy
|
||||
gcc g++ make libffi-dev openssl-dev
|
||||
```
|
||||
|
||||
![输入依赖](../img/qinglong/4.png)
|
||||
|
||||
#### 4. 点击确认,等待安装完成
|
||||
|
||||
![点击确认](../img/qinglong/5.png)
|
||||
|
||||
### 新建 Python 依赖
|
||||
|
||||
#### 1. 点击 Python
|
||||
|
||||
![点击 Linux](../img/qinglong/6.png)
|
||||
|
||||
#### 2. 点击新建依赖
|
||||
|
||||
![点击新建依赖](../img/qinglong/7.png)
|
||||
|
||||
#### 3. 输入 dailycheckin
|
||||
|
||||
![输入 dailycheckin](../img/qinglong/8.png)
|
||||
|
||||
#### 4. 点击确认,等待安装完成
|
||||
|
||||
![点击确认](../img/qinglong/9.png)
|
||||
|
||||
</Steps>
|
||||
|
||||
## 二、配置
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
|
||||
文件格式是否正确!
|
||||
</Callout>
|
||||
|
||||
<Steps>
|
||||
### 选择「脚本管理」
|
||||
|
||||
![点击选择「脚本管理」](../img/qinglong/10.png)
|
||||
|
||||
### 点击 ➕ 添加
|
||||
|
||||
![点击 ➕ 添加](../img/qinglong/11.png)
|
||||
|
||||
### 输入文件名 config.json 后确定
|
||||
|
||||
![输入文件名](../img/qinglong/12.png)
|
||||
|
||||
### 配置 config.json 文件
|
||||
|
||||
参考[配置说明文档](/settings/config) ,并修改 `config.json`
|
||||
|
||||
![编辑配置](../img/qinglong/13.png)
|
||||
![配置示例](../img/qinglong/14.png)
|
||||
|
||||
</Steps>
|
||||
|
||||
## 三、运行
|
||||
|
||||
1. 运行全部脚本
|
||||
![定时任务](../img/qinglong/15.png)
|
||||
2. 运行指定脚本(包含),可以同时选择多个,用「空格」分开
|
||||
![定时任务](../img/qinglong/16.png)
|
||||
3. 运行指定脚本(排除),可以同时选择多个,用「空格」分开
|
||||
![定时任务](../img/qinglong/17.png)
|
||||
|
||||
## 四、更新
|
||||
|
||||
![定时更新](../img/qinglong/18.png)
|
154
docs/pages/install/synology.mdx
Normal file
@ -0,0 +1,154 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
import { FileTree } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="手动部署"
|
||||
href="/install/local"
|
||||
/>
|
||||
<Card
|
||||
title="Docker 部署"
|
||||
href="/install/docker"
|
||||
/>
|
||||
<Card
|
||||
title="青龙部署"
|
||||
href="/install/qinglong"
|
||||
/>
|
||||
</Cards>
|
||||
# 群晖 Docker 使用教程
|
||||
|
||||
## 一、安装
|
||||
|
||||
<Steps>
|
||||
|
||||
### 新建项目目录
|
||||
|
||||
<FileTree>
|
||||
<FileTree.Folder
|
||||
name="dailycheckin"
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.Folder
|
||||
name="config"
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.File name="config.json" />
|
||||
</FileTree.Folder>
|
||||
<FileTree.Folder
|
||||
name="cron"
|
||||
defaultOpen
|
||||
>
|
||||
<FileTree.File name="crontab_list.sh" />
|
||||
</FileTree.Folder>
|
||||
<FileTree.Folder
|
||||
name="logs"
|
||||
defaultOpen
|
||||
></FileTree.Folder>
|
||||
</FileTree.Folder>
|
||||
</FileTree>
|
||||
|
||||
- `./config/config.json`: 配置文件
|
||||
- `./cron/crontab_list.sh`: 配置定时任务的文件
|
||||
- `./logs`: 日志文件
|
||||
|
||||
#### Config 目录
|
||||
|
||||
![config 目录](../img/synology/01.png)
|
||||
|
||||
参考[配置说明文档](/settings/config) ,并修改 `config.json`
|
||||
|
||||
#### Cron 目录
|
||||
|
||||
![cron 目录](../img/synology/01.png)
|
||||
|
||||
修改 `./cron/crontab_list.sh` 文件, 根据实际情况修改下面的默认文件。
|
||||
|
||||
```bash filename="crontab_list.sh" copy
|
||||
##############默认任务##############
|
||||
# 每 12 小时更新 Pipy 包,如果不需要更新 pypi 包请注释掉下面这行
|
||||
0 */12 * * * echo "定时任务更新依赖..." && pip install dailycheckin --upgrade --user >> /dailycheckin/logs/update-pypi.log 2>&1
|
||||
# 每天的 23:50 分清理一次日志
|
||||
50 23 */2 * * rm -rf /dailycheckin/logs/*.log
|
||||
|
||||
##############每日签到一次任务##############
|
||||
# 每日签到(9:00 执行全部签到)
|
||||
0 9 * * * cd /dailycheckin && dailycheckin >> /dailycheckin/logs/dailycheckin.log 2>&1
|
||||
```
|
||||
|
||||
### 注册表搜索「dailycheckin」,双击下载
|
||||
|
||||
![下载](../img/synology/03.png)
|
||||
|
||||
### 下载完成后,点击映像,选中「dailycheckin」,点击「启动」
|
||||
|
||||
![启动](../img/synology/04.png)
|
||||
|
||||
### 配置网络
|
||||
|
||||
跳过,点击下一步
|
||||
|
||||
![配置网络](../img/synology/05.png)
|
||||
|
||||
### 常规设置
|
||||
|
||||
☑️ 启动自动重新启动
|
||||
|
||||
![常规设置](../img/synology/06.png)
|
||||
|
||||
### 端口设置
|
||||
|
||||
跳过,点击下一步
|
||||
|
||||
![端口设置](../img/synology/07.png)
|
||||
|
||||
### 存储空间设置
|
||||
|
||||
![添加文件夹](../img/synology/08.png)
|
||||
|
||||
##### 按照图中的文件夹添加一致的目录结构
|
||||
|
||||
![下一步](../img/synology/09.png)
|
||||
|
||||
![启动成功](../img/synology/10.png)
|
||||
|
||||
### 容器启动成功
|
||||
|
||||
![启动成功](../img/synology/11.png)
|
||||
|
||||
![容器日志](../img/synology/12.png)
|
||||
|
||||
</Steps>
|
||||
|
||||
## 二、配置
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
|
||||
文件格式是否正确!
|
||||
</Callout>
|
||||
|
||||
上传配置文件「config.json」到 「dailycheckin/config」目录下,参考[配置说明文档](/settings/config) ,并修改 `config.json`
|
||||
|
||||
![配置并上传配置文件](../img/synology/01.png)
|
||||
|
||||
## 三、运行
|
||||
|
||||
<Steps>
|
||||
|
||||
### 点击「详情」,「终端机」,点击「新增」右侧「下拉按钮」,输入「dailycheckin」命令
|
||||
|
||||
![添加命令](../img/synology/13.png)
|
||||
|
||||
### 点击命令,输出如下内容,表示配置成功
|
||||
|
||||
![运行命令](../img/synology/14.png)
|
||||
|
||||
</Steps>
|
||||
|
||||
## 更新
|
||||
|
||||
自动更新
|
18
docs/pages/settings/_meta.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"config": "config.json 配置",
|
||||
"notify": "通知配置",
|
||||
"acfun":"AcFun",
|
||||
"aolaxing":"奥拉星",
|
||||
"aliyun":"阿里云盘",
|
||||
"baidu":"百度站点提交",
|
||||
"bilibili":"BiliBili",
|
||||
"enshan":"恩山无线论坛",
|
||||
"imaotai":"i茅台",
|
||||
"iqiyi":"爱奇艺",
|
||||
"kgqq":"全民K歌",
|
||||
"mimotion":"小米运动",
|
||||
"smzdm":"什么值得买",
|
||||
"tieba":"百度贴吧",
|
||||
"v2ex":"V2EX",
|
||||
"youdao":"有道云笔记"
|
||||
}
|
87
docs/pages/settings/acfun.mdx
Normal file
@ -0,0 +1,87 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# AcFun
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"ACFUN": [
|
||||
{
|
||||
"password": "Sitoi",
|
||||
"phone": "18888xxxxxx"
|
||||
},
|
||||
{
|
||||
"password": "多账号 密码填写,请参考上面",
|
||||
"phone": "多账号 手机号填写,请参考上面"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :------------------: | :------------: |
|
||||
| _**ACFUN**_.phone | AcFun 手机账号 |
|
||||
| _**ACFUN**_.password | AcFun 账号密码 |
|
104
docs/pages/settings/aliyun.mdx
Normal file
@ -0,0 +1,104 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 阿里云盘
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"ALIYUN": [
|
||||
{
|
||||
"refresh_token": "599dcf65xxxxxx"
|
||||
},
|
||||
{
|
||||
"refresh_token": "多账号 refresh_token"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :------------------------: | :--------------------: |
|
||||
| _**ALIYUN**_.refresh_token | 阿里云盘 refresh_token |
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
### 打开官网
|
||||
|
||||
进入[阿里云盘](https://www.aliyundrive.com/drive/)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 使用下面的 JavaScript 代码复制所有 cookie
|
||||
|
||||
```js copy
|
||||
copy(JSON.parse(localStorage.token).refresh_token)
|
||||
```
|
||||
|
||||
</Steps>
|
111
docs/pages/settings/aolaxing.mdx
Normal file
@ -0,0 +1,111 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 奥拉星
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"AOLAXING": [
|
||||
{
|
||||
"cookie": "BT_AUTO_tt_common=; Hm_lpvt_7fc3681c21a26a2022ae0ca72e2d6fa5=xxxxxx; BT_LOGIN_tt_common=:187xxxxxx; Hm_lvt_7fc3681c21a26a2022ae0ca72e2d6fa5=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :-------------------: | :-----------: |
|
||||
| _**AOLAXING**_.cookie | 奥拉星 cookie |
|
||||
|
||||
## 获取方式
|
||||
|
||||
> 参考「爱奇艺」获取方式
|
||||
|
||||
![获取 cookie 教程](../img/iqiyi_cookie.png)
|
||||
|
||||
<Steps>
|
||||
|
||||
### 打开官网
|
||||
|
||||
进入[奥拉星](http://www.100bt.com/m/creditMall/?gameId=2#task)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 点击 Network 标签
|
||||
|
||||
### 选择 Doc 标签
|
||||
|
||||
### 选中 http://www.100bt.com/m/creditMall/?gameId=2
|
||||
|
||||
### 下滑找到 cookie 全选复制即可
|
||||
|
||||
</Steps>
|
100
docs/pages/settings/baidu.mdx
Normal file
@ -0,0 +1,100 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# Baidu 站点提交
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"BAIDU": [
|
||||
{
|
||||
"data_url": "https://cdn.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
|
||||
"submit_url": "http://data.zz.baidu.com/urls?site=https://sitoi.cn&token=xxxxxx",
|
||||
"times": 10
|
||||
},
|
||||
{
|
||||
"data_url": "多账号 data_url 链接地址,以实际获取为准",
|
||||
"submit_url": "多账号 submit_url 链接地址,以实际获取为准",
|
||||
"times": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :---------------------: | :-------------------------------------: |
|
||||
| _**BAIDUT**_.data_url | 提交网站的 URL 链接 |
|
||||
| _**BAIDUT**_.submit_url | 百度搜索资源平台 提交百度网站的目标 URL |
|
||||
| _**BAIDUT**_.times | 每日对同一个网站提交次数 |
|
||||
|
||||
## 获取方式
|
||||
|
||||
[百度搜索资源平台](https://ziyuan.baidu.com/site/index#/)
|
||||
|
||||
![获取百度云提交链接教程](../img/submit_url.png)
|
||||
|
||||
- _**BAIDUT**_.data_url: 提交网站的 URL 链接,参考链接:[https://sitoi.cn/baidu_urls.txt](https://sitoi.cn/baidu_urls.txt)
|
||||
- _**BAIDUT**_.submit_url: 提交百度网站的目标 URL,参考格式:`http://data.zz.baidu.com/urls?site=https://sitoi.cn&token=xxxxx`
|
||||
- _**BAIDUT**_.times: 单次任务执行对同一个网站提交次数
|
113
docs/pages/settings/bilibili.mdx
Normal file
@ -0,0 +1,113 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
# BiliBili
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"BILIBILI": [
|
||||
{
|
||||
"cookie": "_uuid=xxxxxx; rpdid=xxxxxx; LIVE_BUVID=xxxxxx; PVID=xxxxxx; blackside_state=xxxxxx; CURRENT_FNVAL=xxxxxx; buvid3=xxxxxx; fingerprint3=xxxxxx; fingerprint=xxxxxx; buivd_fp=xxxxxx; buvid_fp_plain=xxxxxx; DedeUserID=xxxxxx; DedeUserID__ckMd5=xxxxxx; SESSDATA=xxxxxx; bili_jct=xxxxxx; bsource=xxxxxx; finger=xxxxxx; fingerprint_s=xxxxxx;",
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"silver2coin": true
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"silver2coin": true
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| _**BILIBILI**_.cookie | Bilibili cookie |
|
||||
| _**BILIBILI**_.coin_num | Bilibili 每日投币数量 |
|
||||
| _**BILIBILI**_.coin_type | Bilibili 投币方式 默认为 0 ;1: 为关注用户列表视频投币 0: 为随机投币。如果关注用户发布的视频不足配置的投币数,则剩余部分使用随机投币 |
|
||||
| _**BILIBILI**_.silver2coin | Bilibili 是否开启银瓜子换硬币,默认为 True 开启 |
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
|
||||
### 进入[Bilibili](https://www.bilibili.com)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 点击 Network 标签
|
||||
|
||||
### 选择 Doc 标签
|
||||
|
||||
### 选中 www.bilibili.com
|
||||
|
||||
### 下滑找到 cookie 全选复制即可
|
||||
|
||||
</Steps>
|
317
docs/pages/settings/config.mdx
Normal file
@ -0,0 +1,317 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
# config.json 配置
|
||||
|
||||
## 示例文件
|
||||
|
||||
以下是一份默认的 `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": "",
|
||||
"COOLPUSHEMAIL": true,
|
||||
"COOLPUSHQQ": true,
|
||||
"COOLPUSHSKEY": "",
|
||||
"COOLPUSHWX": true,
|
||||
"DINGTALK_ACCESS_TOKEN": "",
|
||||
"DINGTALK_SECRET": "",
|
||||
"FSKEY": "",
|
||||
"PUSHPLUS_TOKEN": "",
|
||||
"PUSHPLUS_TOPIC": "",
|
||||
"QMSG_KEY": "",
|
||||
"QMSG_TYPE": "",
|
||||
"QYWX_AGENTID": "",
|
||||
"QYWX_CORPID": "",
|
||||
"QYWX_CORPSECRET": "",
|
||||
"QYWX_KEY": "",
|
||||
"QYWX_MEDIA_ID": "",
|
||||
"QYWX_TOUSER": "",
|
||||
"SCKEY": "",
|
||||
"SENDKEY": "",
|
||||
"TG_API_HOST": "",
|
||||
"TG_BOT_TOKEN": "",
|
||||
"TG_PROXY": "",
|
||||
"TG_USER_ID": "",
|
||||
"MERGE_PUSH": "",
|
||||
"ACFUN": [
|
||||
{
|
||||
"password": "Sitoi",
|
||||
"phone": "18888xxxxxx"
|
||||
},
|
||||
{
|
||||
"password": "多账号 密码填写,请参考上面",
|
||||
"phone": "多账号 手机号填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"ALIYUN": [
|
||||
{
|
||||
"refresh_token": "599dcf65xxxxxx"
|
||||
},
|
||||
{
|
||||
"refresh_token": "多账号 refresh_token"
|
||||
}
|
||||
],
|
||||
"BAIDU": [
|
||||
{
|
||||
"data_url": "https://cdn.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
|
||||
"submit_url": "http://data.zz.baidu.com/urls?site=https://sitoi.cn&token=xxxxxx",
|
||||
"times": 10
|
||||
},
|
||||
{
|
||||
"data_url": "多账号 data_url 链接地址,以实际获取为准",
|
||||
"submit_url": "多账号 submit_url 链接地址,以实际获取为准",
|
||||
"times": 10
|
||||
}
|
||||
],
|
||||
"BILIBILI": [
|
||||
{
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"cookie": "_uuid=xxxxxx; rpdid=xxxxxx; LIVE_BUVID=xxxxxx; PVID=xxxxxx; blackside_state=xxxxxx; CURRENT_FNVAL=xxxxxx; buvid3=xxxxxx; fingerprint3=xxxxxx; fingerprint=xxxxxx; buivd_fp=xxxxxx; buvid_fp_plain=xxxxxx; DedeUserID=xxxxxx; DedeUserID__ckMd5=xxxxxx; SESSDATA=xxxxxx; bili_jct=xxxxxx; bsource=xxxxxx; finger=xxxxxx; fingerprint_s=xxxxxx;",
|
||||
"silver2coin": true
|
||||
},
|
||||
{
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"silver2coin": true
|
||||
}
|
||||
],
|
||||
|
||||
"IMAOTAI": [
|
||||
{
|
||||
"city": "上海市",
|
||||
"lat": "3.025626",
|
||||
"lng": "3.025626",
|
||||
"mobile": "18888xxxxxx",
|
||||
"province": "上海市",
|
||||
"token": "eyJxxxxxx",
|
||||
"userid": "1xxxxxx4"
|
||||
},
|
||||
{
|
||||
"city": "多账号 城市",
|
||||
"lat": "多账号 纬度",
|
||||
"lng": "多账号 经度",
|
||||
"mobile": "多账号 手机号",
|
||||
"province": "多账号 省份",
|
||||
"token": "多账号 token",
|
||||
"userid": "多账号 用户 id"
|
||||
}
|
||||
],
|
||||
"IQIYI": [
|
||||
{
|
||||
"cookie": "__dfp=xxxxxx; QP0013=xxxxxx; QP0022=xxxxxx; QYABEX=xxxxxx; P00001=xxxxxx; P00002=xxxxxx; P00003=xxxxxx; P00007=xxxxxx; QC163=xxxxxx; QC175=xxxxxx; QC179=xxxxxx; QC170=xxxxxx; P00010=xxxxxx; P00PRU=xxxxxx; P01010=xxxxxx; QC173=xxxxxx; QC180=xxxxxx; P00004=xxxxxx; QP0030=xxxxxx; QC006=xxxxxx; QC007=xxxxxx; QC008=xxxxxx; QC010=xxxxxx; nu=xxxxxx; __uuid=xxxxxx; QC005=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"KGQQ": [
|
||||
{
|
||||
"cookie": "muid=xxxxxx; uid=xxxxxx; userlevel=xxxxxx; openid=xxxxxx; openkey=xxxxxx; opentype=xxxxxx; qrsig=xxxxxx; pgv_pvid=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MIMOTION": [
|
||||
{
|
||||
"max_step": "20000",
|
||||
"min_step": "10000",
|
||||
"password": "Sitoi",
|
||||
"phone": "18888xxxxxx"
|
||||
},
|
||||
{
|
||||
"max_step": "多账号 最大步数填写,请参考上面",
|
||||
"min_step": "多账号 最小步数填写,请参考上面",
|
||||
"password": "多账号 密码填写,请参考上面",
|
||||
"phone": "多账号 手机号填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"SMZDM": [
|
||||
{
|
||||
"cookie": "__ckguid=xxxxxx"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"TIEBA": [
|
||||
{
|
||||
"cookie": "BIDUPSID=xxxxxx; PSTM=xxxxxx; BAIDUID=xxxxxx; BAIDUID_BFESS=xxxxxx; delPer=xxxxxx; PSINO=xxxxxx; H_PS_PSSID=xxxxxx; BA_HECTOR=xxxxxx; BDORZ=xxxxxx; TIEBA_USERTYPE=xxxxxx; st_key_id=xxxxxx; BDUSS=xxxxxx; BDUSS_BFESS=xxxxxx; STOKEN=xxxxxx; TIEBAUID=xxxxxx; ab_sr=xxxxxx; st_data=xxxxxx; st_sign=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"V2EX": [
|
||||
{
|
||||
"cookie": "_ga=xxxxxx; __cfduid=xxxxxx; PB3_SESSION=xxxxxx; A2=xxxxxx; V2EXSETTINGS=xxxxxx; V2EX_REFERRER=xxxxxx; V2EX_LANG=xxxxxx; _gid=xxxxxx; V2EX_TAB=xxxxxx;",
|
||||
"proxy": "使用代理的信息,无密码例子: http://127.0.0.1:1080 有密码例子: http://username:password@127.0.0.1:1080"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"proxy": "使用代理的信息,无密码例子: http://127.0.0.1:1080 有密码例子: http://username:password@127.0.0.1:1080"
|
||||
}
|
||||
],
|
||||
"YOUDAO": [
|
||||
{
|
||||
"cookie": "JSESSIONID=xxxxxx; __yadk_uid=xxxxxx; OUTFOX_SEARCH_USER_ID_NCOO=xxxxxx; YNOTE_SESS=xxxxxx; YNOTE_PERS=xxxxxx; YNOTE_LOGIN=xxxxxx; YNOTE_CSTK=xxxxxx; _ga=xxxxxx; _gid=xxxxxx; _gat=xxxxxx; PUBLIC_SHARE_18a9dde3de846b6a69e24431764270c4=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## 通知平台配置
|
||||
|
||||
<Callout type="info">
|
||||
第一步:选择适合自己的通知平台,点进对应的通知平台,配置相关的参数,填入
|
||||
`config.json` 文件中。
|
||||
</Callout>
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
|
||||
文件格式是否正确!
|
||||
</Callout>
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
## 签到平台配置
|
||||
|
||||
<Callout type="info">
|
||||
第二步:配置需要签到的平台,点进对应的签到平台,配置相关的参数,填入
|
||||
`config.json` 文件中。
|
||||
</Callout>
|
||||
|
||||
<Callout
|
||||
type="warning"
|
||||
emoji="⚠️"
|
||||
>
|
||||
请务必到 [https://www.json.cn/](https://www.json.cn/) 网站检查 `config.json`
|
||||
文件格式是否正确!
|
||||
</Callout>
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
---
|
||||
|
||||
<Callout type="info">
|
||||
配置完成后,根据部署方法中的「运行」教程执行程序,进行签到
|
||||
</Callout>
|
106
docs/pages/settings/enshan.mdx
Normal file
@ -0,0 +1,106 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 恩山无线论坛
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"ENSHAN": [
|
||||
{
|
||||
"cookie": "fpv=xxxxxx; yd_captcha_token=xxxxxx; _dx_captcha_cid=xxxxxx; _dx_uzZo5y=xxxxxx; _dx_FMrPY6=xxxxxx; _dx_app_captchadiscuzpluginbydingxiang2017=xxxxxx; TWcq_2132_pc_size_c=0; TWcq_2132_saltkey=xxxxxx; TWcq_2132_lastvisit=xxxxxx; TWcq_2132_sendmail=1; _dx_captcha_vid=xxxxxx; TWcq_2132_sid=Wyv5Ps; TWcq_2132_ulastactivity=xxxxxx; TWcq_2132_auth=xxxxxx; TWcq_2132_lastcheckfeed=xxxxxx; TWcq_2132_lip=xxxxxx; TWcq_2132_connect_is_bind=1; TWcq_2132_nofavfid=1; TWcq_2132_lastact=xxxxxx"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :-----------------: | :-----------------------------: |
|
||||
| _**ENSHAN**_.cookie | 恩山无线论坛 帐号的 cookie 信息 |
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
### 打开官网
|
||||
|
||||
进入[恩山无线论坛](https://www.right.com.cn/forum/)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 点击 Network 标签
|
||||
|
||||
### 选择 Doc 标签
|
||||
|
||||
### 选中 www.right.com.cn
|
||||
|
||||
### 下滑找到 cookie 全选复制即可
|
||||
|
||||
</Steps>
|
381
docs/pages/settings/imaotai.mdx
Normal file
@ -0,0 +1,381 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# i 茅台
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"IMAOTAI": [
|
||||
{
|
||||
"city": "上海市",
|
||||
"lat": "3.025626",
|
||||
"lng": "3.025626",
|
||||
"mobile": "18888xxxxxx",
|
||||
"province": "上海市",
|
||||
"token": "eyJxxxxxx",
|
||||
"userid": "1xxxxxx4",
|
||||
"reserve_rule": 0,
|
||||
"item_codes": ["10941", "10942"]
|
||||
},
|
||||
{
|
||||
"city": "多账号 城市",
|
||||
"lat": "多账号 纬度",
|
||||
"lng": "多账号 经度",
|
||||
"mobile": "多账号 手机号",
|
||||
"province": "多账号 省份",
|
||||
"token": "多账号 token",
|
||||
"userid": "多账号 用户 id",
|
||||
"reserve_rule": 0,
|
||||
"item_codes": ["10941", "10942"]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :------------------------: | :-------------------------------------------------------------: |
|
||||
| _**IMAOTAI**_.mobile | i 茅台 手机账号 |
|
||||
| _**IMAOTAI**_.userid | i 茅台 登录的用户 ID |
|
||||
| _**IMAOTAI**_.token | i 茅台 登录的用户 token |
|
||||
| _**IMAOTAI**_.province | i 茅台 申领省份 |
|
||||
| _**IMAOTAI**_.city | i 茅台 申领城市 |
|
||||
| _**IMAOTAI**_.lat | i 茅台 申领纬度(用于选择离你最近的茅台地点) |
|
||||
| _**IMAOTAI**_.lng | i 茅台 申领经度(用于选择离你最近的茅台地点) |
|
||||
| _**IMAOTAI**_.reserve_rule | i 茅台 申领方式 默认:0 距离最近的店铺,1: 当前城市出货量最多的 |
|
||||
| _**IMAOTAI**_.item_codes | i 茅台 申领商品 Code 默认不填为 ["10941", "10942"] |
|
||||
|
||||
> item_codes 支持以下几种选择
|
||||
|
||||
```json copy
|
||||
{
|
||||
"10941": "53%vol 500ml贵州茅台酒(甲辰龙年)",
|
||||
"10942": "53%vol 375ml×2贵州茅台酒(甲辰龙年)",
|
||||
"10056": "53%vol 500ml茅台1935",
|
||||
"2478": "53%vol 500ml贵州茅台酒(珍品)"
|
||||
}
|
||||
```
|
||||
|
||||
默认配置申购 `["10941", "10942"]`
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
|
||||
## 获取高德地图 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 项目
|
||||
|
||||
新建一个 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
|
||||
|
||||
import requests
|
||||
|
||||
"""
|
||||
获取地点信息,这里用的高德 api,需要自己去高德开发者平台申请自己的 key
|
||||
"""
|
||||
AMAP_KEY = ""
|
||||
|
||||
|
||||
SALT = "2af72f100c356273d46284f6fd1dfc08"
|
||||
|
||||
CURRENT_TIME = str(int(time.time() * 1000))
|
||||
headers = {}
|
||||
|
||||
|
||||
mt_version = json.loads(
|
||||
requests.get("https://itunes.apple.com/cn/lookup?id=1600482450").text
|
||||
)["results"][0]["version"]
|
||||
|
||||
|
||||
header_context = """
|
||||
MT-Lat: 28.499562
|
||||
MT-K: 1675213490331
|
||||
MT-Lng: 102.182324
|
||||
Host: app.moutai519.com.cn
|
||||
MT-User-Tag: 0
|
||||
Accept: */*
|
||||
MT-Network-Type: WIFI
|
||||
MT-Token: 1
|
||||
MT-Team-ID: 1
|
||||
MT-Info: 028e7f96f6369cafe1d105579c5b9377
|
||||
MT-Device-ID: 2F2075D0-B66C-4287-A903-DBFF6358342A
|
||||
MT-Bundle-ID: com.moutai.mall
|
||||
Accept-Language: en-CN;q=1, zh-Hans-CN;q=0.9
|
||||
MT-Request-ID: 167560018873318465
|
||||
MT-APP-Version: 1.3.7
|
||||
User-Agent: iOS;16.3;Apple;?unrecognized?
|
||||
MT-R: clips_OlU6TmFRag5rCXwbNAQ/Tz1SKlN8THcecBp/HGhHdw==
|
||||
Content-Length: 93
|
||||
Accept-Encoding: gzip, deflate, br
|
||||
Connection: keep-alive
|
||||
Content-Type: application/json
|
||||
userId: 2
|
||||
"""
|
||||
|
||||
|
||||
# 初始化请求头
|
||||
def init_headers(
|
||||
user_id: str = "1", token: str = "2", lat: str = "29.83826", lng: str = "119.74375"
|
||||
):
|
||||
for k in header_context.strip().split("\n"):
|
||||
temp_l = k.split(": ")
|
||||
dict.update(headers, {temp_l[0]: temp_l[1]})
|
||||
dict.update(headers, {"userId": user_id})
|
||||
dict.update(headers, {"MT-Token": token})
|
||||
dict.update(headers, {"MT-Lat": lat})
|
||||
dict.update(headers, {"MT-Lng": lng})
|
||||
dict.update(headers, {"MT-APP-Version": mt_version})
|
||||
|
||||
|
||||
# 用高德api获取地图信息
|
||||
def select_geo(i: str):
|
||||
# 校验高德api是否配置
|
||||
if AMAP_KEY is None:
|
||||
print("!!!!请配置 AMAP_KEY (高德地图的MapKey)")
|
||||
raise ValueError
|
||||
resp = requests.get(
|
||||
f"https://restapi.amap.com/v3/geocode/geo?key={AMAP_KEY}&output=json&address={i}"
|
||||
)
|
||||
geocodes: list = resp.json()["geocodes"]
|
||||
return geocodes
|
||||
|
||||
|
||||
def signature(data: dict):
|
||||
keys = sorted(data.keys())
|
||||
temp_v = ""
|
||||
for item in keys:
|
||||
temp_v += data[item]
|
||||
text = SALT + temp_v + CURRENT_TIME
|
||||
hl = hashlib.md5()
|
||||
hl.update(text.encode(encoding="utf8"))
|
||||
md5 = hl.hexdigest()
|
||||
return md5
|
||||
|
||||
|
||||
# 获取登录手机验证码
|
||||
def get_vcode(mobile: str):
|
||||
params = {"mobile": mobile}
|
||||
md5 = signature(params)
|
||||
dict.update(
|
||||
params, {"md5": md5, "timestamp": CURRENT_TIME, "MT-APP-Version": mt_version}
|
||||
)
|
||||
responses = requests.post(
|
||||
"https://app.moutai519.com.cn/xhr/front/user/register/vcode",
|
||||
json=params,
|
||||
headers=headers,
|
||||
)
|
||||
if responses.status_code != 200:
|
||||
print(
|
||||
f"get v_code : params : {params}, response code : {responses.status_code}, response body : {responses.text}"
|
||||
)
|
||||
|
||||
|
||||
# 执行登录操作
|
||||
def login(mobile: str, v_code: str):
|
||||
params = {"mobile": mobile, "vCode": v_code, "ydToken": "", "ydLogId": ""}
|
||||
md5 = signature(params)
|
||||
dict.update(
|
||||
params, {"md5": md5, "timestamp": CURRENT_TIME, "MT-APP-Version": mt_version}
|
||||
)
|
||||
responses = requests.post(
|
||||
"https://app.moutai519.com.cn/xhr/front/user/register/login",
|
||||
json=params,
|
||||
headers=headers,
|
||||
)
|
||||
if responses.status_code != 200:
|
||||
print(
|
||||
f"login : params : {params}, response code : {responses.status_code}, response body : {responses.text}"
|
||||
)
|
||||
dict.update(headers, {"MT-Token": responses.json()["data"]["token"]})
|
||||
dict.update(headers, {"userId": responses.json()["data"]["userId"]})
|
||||
return responses.json()["data"]["token"], responses.json()["data"]["userId"]
|
||||
|
||||
|
||||
def get_location():
|
||||
while 1:
|
||||
location = input(
|
||||
"请输入精确小区位置,例如[小区名称],为你自动预约附近的门店:"
|
||||
).strip()
|
||||
selects = select_geo(location)
|
||||
|
||||
a = 0
|
||||
for item in selects:
|
||||
formatted_address = item["formatted_address"]
|
||||
province = item["province"]
|
||||
print(f"{a} : [地区:{province},位置:{formatted_address}]")
|
||||
a += 1
|
||||
user_select = input("请选择位置序号,重新输入请输入[-]:").strip()
|
||||
if user_select == "-":
|
||||
continue
|
||||
select = selects[int(user_select)]
|
||||
formatted_address = select["formatted_address"]
|
||||
province = select["province"]
|
||||
print(f"已选择 地区:{province},[{formatted_address}]附近的门店")
|
||||
return select
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
items = []
|
||||
while 1:
|
||||
init_headers()
|
||||
location_select: dict = get_location()
|
||||
province = location_select["province"]
|
||||
city = location_select["city"]
|
||||
location: str = location_select["location"]
|
||||
|
||||
mobile = input("输入手机号[18888888888]:").strip()
|
||||
get_vcode(mobile)
|
||||
code = input(f"输入 [{mobile}] 验证码[8888]:").strip()
|
||||
token, userId = login(mobile, code)
|
||||
item = {
|
||||
"city": str(city),
|
||||
"lat": location.split(",")[1],
|
||||
"lng": location.split(",")[0],
|
||||
"mobile": str(mobile),
|
||||
"province": province,
|
||||
"token": str(token),
|
||||
"userid": str(userId),
|
||||
"reserve_rule": 0,
|
||||
"item_codes": ["10941", "10942"],
|
||||
}
|
||||
items.append(item)
|
||||
condition = input("是否继续添加账号[y/n]:").strip()
|
||||
with open("account.json", "w") as f:
|
||||
f.write(json.dumps(items, ensure_ascii=False, indent=4))
|
||||
if condition.lower() == "n":
|
||||
break
|
||||
```
|
||||
|
||||
### 点击「终端」安装依赖项
|
||||
|
||||
![](../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>
|
107
docs/pages/settings/iqiyi.mdx
Normal file
@ -0,0 +1,107 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
# 爱奇艺
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"IQIYI": [
|
||||
{
|
||||
"cookie": "__dfp=xxxxxx; QP0013=xxxxxx; QP0022=xxxxxx; QYABEX=xxxxxx; P00001=xxxxxx; P00002=xxxxxx; P00003=xxxxxx; P00007=xxxxxx; QC163=xxxxxx; QC175=xxxxxx; QC179=xxxxxx; QC170=xxxxxx; P00010=xxxxxx; P00PRU=xxxxxx; P01010=xxxxxx; QC173=xxxxxx; QC180=xxxxxx; P00004=xxxxxx; QP0030=xxxxxx; QC006=xxxxxx; QC007=xxxxxx; QC008=xxxxxx; QC010=xxxxxx; nu=xxxxxx; __uuid=xxxxxx; QC005=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :----------------: | :---------------------------: |
|
||||
| _**IQIYI**_.cookie | 爱奇艺 APP headers 中的 token |
|
||||
|
||||
## 获取方式
|
||||
|
||||
![获取 cookie 教程](../img/iqiyi_cookie.png)
|
||||
|
||||
<Steps>
|
||||
### 打开官网
|
||||
|
||||
进入[爱奇艺官网](https://www.iqiyi.com/)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 点击 Network 标签
|
||||
|
||||
### 选择 Doc 标签
|
||||
|
||||
### 选中 www.iqiyi.com
|
||||
|
||||
### 下滑找到 cookie 全选复制即可
|
||||
|
||||
</Steps>
|
101
docs/pages/settings/kgqq.mdx
Normal file
@ -0,0 +1,101 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 全民 K 歌
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"KGQQ": [
|
||||
{
|
||||
"cookie": "muid=xxxxxx; uid=xxxxxx; userlevel=xxxxxx; openid=xxxxxx; openkey=xxxxxx; opentype=xxxxxx; qrsig=xxxxxx; pgv_pvid=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :---------------: | :--------------------------: |
|
||||
| _**KGQQ**_.cookie | 全民 K 歌 帐号的 cookie 信息 |
|
||||
|
||||
## 获取方式
|
||||
|
||||
### 打开官网
|
||||
|
||||
进入[全民 K 歌](https://kg.qq.com/index-pc.html)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 使用下面的 JavaScript 代码复制所有 cookie
|
||||
|
||||
```js copy
|
||||
copy(document.cookie)
|
||||
```
|
93
docs/pages/settings/mimotion.mdx
Normal file
@ -0,0 +1,93 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 小米运动
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"MIMOTION": [
|
||||
{
|
||||
"max_step": "20000",
|
||||
"min_step": "10000",
|
||||
"password": "Sitoi",
|
||||
"phone": "18888xxxxxx"
|
||||
},
|
||||
{
|
||||
"max_step": "多账号 最大步数填写,请参考上面",
|
||||
"min_step": "多账号 最小步数填写,请参考上面",
|
||||
"password": "多账号 密码填写,请参考上面",
|
||||
"phone": "多账号 手机号填写,请参考上面"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :---------------------: | :--------------------------: |
|
||||
| _**MIMOTION**_.phone | 小米运动刷步数的手机账号 |
|
||||
| _**MIMOTION**_.password | 小米运动刷步数的手机账号密码 |
|
||||
| _**MIMOTION**_.min_step | 小米运动刷步数的最小步数 |
|
||||
| _**MIMOTION**_.max_step | 小米运动刷步数的最大步数 |
|
13
docs/pages/settings/notify/_meta.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"bark": "Bark",
|
||||
"coolpush": "CoolPush",
|
||||
"dingtalk": "钉钉",
|
||||
"feishu": "飞书",
|
||||
"pushplus": "PushPlus",
|
||||
"qmsg": "QMSG",
|
||||
"qywx": "企业微信应用消息",
|
||||
"qywxrobot": "企业微信群机器人",
|
||||
"telegram": "Telegram",
|
||||
"server": "Server 酱",
|
||||
"turbo": "Server 酱 Turbo"
|
||||
}
|
64
docs/pages/settings/notify/bark.mdx
Normal file
@ -0,0 +1,64 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# BARK
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"BARK_URL": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :--------------: | :--------------------------------------------------------------------------------------------: |
|
||||
| _**BARK_URL**_ | [BARK](https://bark.day.app/#/) ,填写 `BARK_URL` 例: `https://api.day.app/DxHcxxxxxRxxxxxxcm/` |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
70
docs/pages/settings/notify/coolpush.mdx
Normal file
@ -0,0 +1,70 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# CoolPush
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"COOLPUSHEMAIL": true,
|
||||
"COOLPUSHQQ": true,
|
||||
"COOLPUSHSKEY": "",
|
||||
"COOLPUSHWX": true,
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :-----------------: | :-------------------------------------------------------------: |
|
||||
| _**COOLPUSHSKEY**_ | [Cool Push](https://cp.xuthus.cc/) 推送的 `SKEY` |
|
||||
| _**COOLPUSHQQ**_ | [Cool Push](https://cp.xuthus.cc/) 是否开启 QQ 推送,默认开启 |
|
||||
| _**COOLPUSHWX**_ | [Cool Push](https://cp.xuthus.cc/) 是否开启 微信 推送,默认关闭 |
|
||||
| _**COOLPUSHEMAIL**_ | [Cool Push](https://cp.xuthus.cc/) 是否开启 邮件 推送,默认关闭 |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
66
docs/pages/settings/notify/dingtalk.mdx
Normal file
@ -0,0 +1,66 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 钉钉
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"DINGTALK_ACCESS_TOKEN": "",
|
||||
"DINGTALK_SECRET": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :-------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| _**DINGTALK_SECRET**_ | 钉钉推送[官方文档](https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq) 密钥,机器人安全设置页面,加签一栏下面显示的 `SEC` 开头的字符串, 注:填写了 `DD_BOT_TOKEN` 和 `DD_BOT_SECRET`,钉钉机器人安全设置只需勾选`加签`即可,其他选项不要勾选 |
|
||||
| _**DINGTALK_ACCESS_TOKEN**_ | 钉钉推送[官方文档](https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq) ,只需 `https://oapi.dingtalk.com/robot/send?access_token=XXX` 等于符号后面的 `XXX` |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
64
docs/pages/settings/notify/feishu.mdx
Normal file
@ -0,0 +1,64 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 飞书
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"FSKEY": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :--------------: | :---------------------------------------------------------------------------------------: |
|
||||
| _**FSKEY**_ | `https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxx` **xxxxxx** 部分就是需要填写的 FSKEY |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
66
docs/pages/settings/notify/pushplus.mdx
Normal file
@ -0,0 +1,66 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# PushPlus
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"PUSHPLUS_TOKEN": "",
|
||||
"PUSHPLUS_TOPIC": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :------------------: | :------------------------------------------------------------------------------------------------------------------: |
|
||||
| _**PUSHPLUS_TOKEN**_ | 用户令牌,可直接加到请求地址后,如:http://www.pushplus.plus/send/{token} [官方文档](https://www.pushplus.plus/doc/) |
|
||||
| _**PUSHPLUS_TOPIC**_ | 群组编码,不填仅发送给自己 [官方文档](https://www.pushplus.plus/doc/) |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
71
docs/pages/settings/notify/qmsg.mdx
Normal file
@ -0,0 +1,71 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Callout } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# Qmsg 酱
|
||||
|
||||
<Callout type="warning">
|
||||
通知消息在 Qmsg 中被视为违规。 ![qmsg-error](../../img/qmsg-error.png)
|
||||
</Callout>
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"QMSG_KEY": "",
|
||||
"QMSG_TYPE": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :--------------: | :--------------------------------------------------------------------------------------------: |
|
||||
| _**QMSG_KEY**_ | Qmsg 酱推送[官方文档](https://qmsg.zendee.cn/) ,填写 `KEY` 代码即可 |
|
||||
| _**QMSG_TYPE**_ | Qmsg 酱推送[官方文档](https://qmsg.zendee.cn/) ,如果需要推送到群填写 `group`,其他的都推送到 QQ |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
73
docs/pages/settings/notify/qywx.mdx
Normal file
@ -0,0 +1,73 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 企业微信应用消息
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"QYWX_AGENTID": "",
|
||||
"QYWX_CORPID": "",
|
||||
"QYWX_CORPSECRET": "",
|
||||
"QYWX_KEY": "",
|
||||
"QYWX_MEDIA_ID": "",
|
||||
"QYWX_TOUSER": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :-------------------: | :-------------------------------------------: |
|
||||
| _**QYWX_CORPID**_ | corpid |
|
||||
| _**QYWX_AGENTID**_ | agentid |
|
||||
| _**QYWX_CORPSECRET**_ | corpsecret |
|
||||
| _**QYWX_TOUSER**_ | touser |
|
||||
| _**QYWX_MEDIA_ID**_ | media_id |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
69
docs/pages/settings/notify/qywxrobot.mdx
Normal file
@ -0,0 +1,69 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 企业微信群机器人
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"QYWX_AGENTID": "",
|
||||
"QYWX_CORPID": "",
|
||||
"QYWX_CORPSECRET": "",
|
||||
"QYWX_KEY": "",
|
||||
"QYWX_MEDIA_ID": "",
|
||||
"QYWX_TOUSER": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :--------------: | :----------------------------------------------------------------------------------------------------------------: |
|
||||
| _**QYWX_KEY**_ | 密钥,企业微信推送 `webhook` 后面的 `key` 详见[官方说明文档](https://work.weixin.qq.com/api/doc/90000/90136/91770) |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
64
docs/pages/settings/notify/server.mdx
Normal file
@ -0,0 +1,64 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# Server 酱
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"SCKEY": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :--------------: | :-----------------------------------------------------------------: |
|
||||
| _**SCKEY**_ | server 酱推送[官方文档](https://sc.ftqq.com) ,填写 `SCKEY` 代码即可 |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
70
docs/pages/settings/notify/telegram.mdx
Normal file
@ -0,0 +1,70 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# Telegram
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"TG_API_HOST": "",
|
||||
"TG_BOT_TOKEN": "",
|
||||
"TG_PROXY": "",
|
||||
"TG_USER_ID": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| Name | 说明 |
|
||||
| :----------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| _**TG_BOT_TOKEN**_ | telegram 推送 `TG_BOT_TOKEN` |
|
||||
| _**TG_USER_ID**_ | telegram 推送 `TG_USER_ID` |
|
||||
| _**TG_API_HOST**_ | Telegram api 自建的反向代理地址 例子:反向代理地址 http://aaa.bbb.ccc 则填写 aaa.bbb.ccc [简略搭建教程](https://shimo.im/docs/JD38CJDQtYy3yTd8/read) |
|
||||
| _**TG_PROXY**_ | Telegram 代理的信息,例子: http://127.0.0.1:1080 |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
64
docs/pages/settings/notify/turbo.mdx
Normal file
@ -0,0 +1,64 @@
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="BARK"
|
||||
href="/settings/notify/bark"
|
||||
/>
|
||||
<Card
|
||||
title="CoolPush"
|
||||
href="/settings/notify/coolpush"
|
||||
/>
|
||||
<Card
|
||||
title="钉钉"
|
||||
href="/settings/notify/dingtalk"
|
||||
/>
|
||||
<Card
|
||||
title="飞书"
|
||||
href="/settings/notify/feishu"
|
||||
/>
|
||||
<Card
|
||||
title="PushPlus"
|
||||
href="/settings/notify/pushplus"
|
||||
/>
|
||||
<Card
|
||||
title="Qmsg 酱"
|
||||
href="/settings/notify/qmsg"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信应用消息"
|
||||
href="/settings/notify/qywx"
|
||||
/>
|
||||
<Card
|
||||
title="企业微信群机器人"
|
||||
href="/settings/notify/qywxrobot"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱"
|
||||
href="/settings/notify/server"
|
||||
/>
|
||||
<Card
|
||||
title="Telegram"
|
||||
href="/settings/notify/telegram"
|
||||
/>
|
||||
<Card
|
||||
title="Server 酱 TURBO"
|
||||
href="/settings/notify/turbo"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# Server 酱 TURBO
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"SENDKEY": "",
|
||||
"MERGE_PUSH": ""
|
||||
}
|
||||
```
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :--------------: | :-----------------------------------------------------------------------------------: |
|
||||
| _**SENDKEY**_ | server 酱 TURBO 推送[官方文档](https://sct.ftqq.com/sendkey) ,填写 `SENDKEY` 代码即可 |
|
||||
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
|
105
docs/pages/settings/smzdm.mdx
Normal file
@ -0,0 +1,105 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 什么值得买
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy filename="config.json"
|
||||
{
|
||||
"SMZDM": [
|
||||
{
|
||||
"cookie": "__ckguid=xxxxxx"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :----------------: | :--------------------: |
|
||||
| _**SMZDM**_.cookie | 什么值得买 cookie 信息 |
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
|
||||
### 进入[什么值得买](https://www.smzdm.com/)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 点击 Network 标签
|
||||
|
||||
### 选择 Doc 标签
|
||||
|
||||
### 选中 www.smzdm.com
|
||||
|
||||
### 下滑找到 cookie 全选复制即可
|
||||
|
||||
</Steps>
|
106
docs/pages/settings/tieba.mdx
Normal file
@ -0,0 +1,106 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# 百度贴吧
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"TIEBA": [
|
||||
{
|
||||
"cookie": "BIDUPSID=xxxxxx; PSTM=xxxxxx; BAIDUID=xxxxxx; BAIDUID_BFESS=xxxxxx; delPer=xxxxxx; PSINO=xxxxxx; H_PS_PSSID=xxxxxx; BA_HECTOR=xxxxxx; BDORZ=xxxxxx; TIEBA_USERTYPE=xxxxxx; st_key_id=xxxxxx; BDUSS=xxxxxx; BDUSS_BFESS=xxxxxx; STOKEN=xxxxxx; TIEBAUID=xxxxxx; ab_sr=xxxxxx; st_data=xxxxxx; st_sign=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :----------------: | :-------------: |
|
||||
| _**TIEBA**_.cookie | 百度贴吧 cookie |
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
### 打开官网
|
||||
|
||||
进入[百度贴吧](https://tieba.baidu.com/index.html)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 点击 Network 标签
|
||||
|
||||
### 选择 Doc 标签
|
||||
|
||||
### 选中 tieba.baidu.com/index.html
|
||||
|
||||
### 下滑找到 cookie 全选复制即可
|
||||
|
||||
</Steps>
|
107
docs/pages/settings/v2ex.mdx
Normal file
@ -0,0 +1,107 @@
|
||||
import { Callout } from 'nextra/components'
|
||||
import { Cards, Card } from 'nextra/components'
|
||||
import { Steps } from 'nextra/components'
|
||||
|
||||
<Cards>
|
||||
<Card
|
||||
title="AcFun"
|
||||
href="/settings/acfun"
|
||||
/>
|
||||
<Card
|
||||
title="阿里云盘"
|
||||
href="/settings/aliyun"
|
||||
/>
|
||||
<Card
|
||||
title="奥拉星"
|
||||
href="/settings/aolaxing"
|
||||
/>
|
||||
<Card
|
||||
title="Baidu 站点提交"
|
||||
href="/settings/baidu"
|
||||
/>
|
||||
<Card
|
||||
title="Bilibili"
|
||||
href="/settings/bilibili"
|
||||
/>
|
||||
<Card
|
||||
title="恩山无线论坛"
|
||||
href="/settings/enshan"
|
||||
/>
|
||||
<Card
|
||||
title="i茅台"
|
||||
href="/settings/imaotai"
|
||||
/>
|
||||
<Card
|
||||
title="爱奇艺"
|
||||
href="/settings/iqiyi"
|
||||
/>
|
||||
<Card
|
||||
title="全民 K 歌"
|
||||
href="/settings/kgqq"
|
||||
/>
|
||||
<Card
|
||||
title="小米运动"
|
||||
href="/settings/mimotion"
|
||||
/>
|
||||
<Card
|
||||
title="什么值得买"
|
||||
href="/settings/smzdm"
|
||||
/>
|
||||
<Card
|
||||
title="百度贴吧"
|
||||
href="/settings/tieba"
|
||||
/>
|
||||
<Card
|
||||
title="V2EX"
|
||||
href="/settings/v2ex"
|
||||
/>
|
||||
<Card
|
||||
title="有道云笔记"
|
||||
href="/settings/youdao"
|
||||
/>
|
||||
</Cards>
|
||||
|
||||
# V2EX
|
||||
|
||||
### 配置示例
|
||||
|
||||
```json filename="config.json" copy
|
||||
{
|
||||
"V2EX": [
|
||||
{
|
||||
"cookie": "_ga=xxxxxx; __cfduid=xxxxxx; PB3_SESSION=xxxxxx; A2=xxxxxx; V2EXSETTINGS=xxxxxx; V2EX_REFERRER=xxxxxx; V2EX_LANG=xxxxxx; _gid=xxxxxx; V2EX_TAB=xxxxxx;",
|
||||
"proxy": "使用代理的信息,无密码例子: http://127.0.0.1:1080 有密码例子: http://username:password@127.0.0.1:1080"
|
||||
},
|
||||
{
|
||||
"cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"proxy": "使用代理的信息,无密码例子: http://127.0.0.1:1080 有密码例子: http://username:password@127.0.0.1:1080"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 配置说明
|
||||
|
||||
| 参数 | 说明 |
|
||||
| :---------------: | :------------------------------------------: |
|
||||
| _**V2EX**_.cookie | V2EX 每日签到 |
|
||||
| _**V2EX**_.proxy | V2EX 代理的信息,例子: http://127.0.0.1:1080 |
|
||||
|
||||
## 获取方式
|
||||
|
||||
<Steps>
|
||||
### 打开官网
|
||||
|
||||
进入[V2EX](https://www.v2ex.com/)
|
||||
|
||||
### 打开开发者工具
|
||||
|
||||
按 `F12` 打开开发者工具,刷新页面
|
||||
|
||||
### 使用下面的 JavaScript 代码复制所有 cookie
|
||||
|
||||
```js copy
|
||||
copy(document.cookie)
|
||||
```
|
||||
|
||||
</Steps>
|