aioqzone封装了一些Qzone接口。
English | 简体中文
⚠️ aioqzone 仍在开发阶段,任何功能和接口都有可能在未来的版本中发生变化。- 🆘 欢迎有意协助开发/维护的中文开发者。不仅限于本仓库,[aioqzone][org] 所属的任何仓库都需要您的帮助。
- 二维码登录
- 密码登录 (受限)
- 计算验证码答案
- 通过网络环境检测
- 爬取HTML说说
- 爬取说说详细内容
- 爬取空间相册
- 点赞/取消赞
- 发布(仅文字)/修改/删除说说
- 评论相关
- 完整的 IDE 类型支持 (typing)
- API 结果类型验证 (pydantic)
- 异步设计
- 易于二次开发
- 文档支持
在做了:
- 完善的测试覆盖
jssupport.jsjson.AstLoader
不需要借助其他进程;- 要使用
jssupport.execjs
和jssupport.jsjson.NodeLoader
,您(至少)需要安装Node.js
>= v14; - 要使用
jssupport.jsdom
,您需要安装jsdom
和canvas
两个 npm 包。 - 验证码部分需要使用
canvas
,因此您需要正确配置运行环境内的 font config (#45).
包名 | 简述 |
---|---|
aioqzone | 封装Qzone API |
jssupport | 执行JS |
qqqr | 网页登录 |
这些仓库提供了一些 aioqzone 的实际使用示例。
- aioqzone-feed: 提供了操作 feed 的简单接口
Copyright (C) 2022 aioqzone.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.