京东签到插件,支持京东cookies登录、自动签到、查询等功能
Project description
nonebot_plugin_jd_sign
🎁 一个基于 NoneBot2 的京东签到插件,支持 QQ 机器人自动进行京东签到、查询京豆数、自动定时签到等功能。
✨ 功能特性
- ✅ 支持京东账号登录(通过 pt_key 和 pt_pin)
- 🧾 支持签到查询(查询京豆数量与连续签到天数)
- 🔁 支持定时自动签到(每天早上 8 点,间隔执行)
- 🔍 支持查看当前登录账户状态
- 🛠️ 每个 QQ 用户单独记录 pt_key/pt_pin,支持自动更新
📦 安装
使用 nb-cli 安装(推荐):
nb plugin install nonebot_plugin_jd_sign
🔧 配置项
插件默认不需要额外配置。如需修改执行时间,请自定义 APScheduler 配置。
📚 使用说明
👉 指令列表:
| 指令 | 功能描述 |
|---|---|
| 京东登录 | 用户先发送指令然后根据提示输入 pt_key=xxx;pt_pin=xxx; 完成登录 |
| 京东签到 | 手动执行京东签到,返回签到结果 |
| 查询 | 查询累计京豆与连续签到天数 |
| 自动签到 | 开启每日自动签到(每天早上 8 点) |
| 查看账户 | 查看当前登录账户的 pt_pin、自动签到状态与更新时间 |
⏰ 自动签到机制
- 插件依赖
nonebot_plugin_apscheduler实现定时任务 - 每天早上
08:00自动对开启了“自动签到”的用户依次执行签到 - 多个账户之间间隔
30~60秒避免触发风控
🔧 依赖插件
📄 License
MIT © yourname
💡 鸣谢
本插件基于京东官方 API 行为模拟,仅用于学习交流,请勿用于非法用途,违反者后果自负。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_jd_sign-0.1.6.tar.gz.
File metadata
- Download URL: nonebot_plugin_jd_sign-0.1.6.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e39db81e8d005e634099d04744ae0bba54d855148cd8686448949a0d51a02ae
|
|
| MD5 |
0f9c4bb50e6dfd5c6b782ed28bf9163c
|
|
| BLAKE2b-256 |
3f8f00e718f35bb3081f66d2982e2d8e7afdc3dbd6276bd962f1020ad7bc3601
|
File details
Details for the file nonebot_plugin_jd_sign-0.1.6-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_jd_sign-0.1.6-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8499913cbdec3cd721072893eb8965c7642bc510c5ae50a22e9e554994d42e83
|
|
| MD5 |
05f556365ed4cead8ed40f75b68c4acd
|
|
| BLAKE2b-256 |
b9b26a04ca206953326353e6b26dfe908c71b81cde383b4a92f6c83db35ab65c
|