Files
media-center/sources/search/v1/usage.md
T
sutong 750f981c7e feat: init media-center skill
资源中心——从多渠道获取资源链接,转存到夸克网盘并整理归档。
- sources/tencent-doc: 腾讯文档读取
- sources/search: 网盘搜索
- storage/quark: 夸克网盘操作
- ref/: 来源 skill 参考归档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 18:28:23 +08:00

60 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 网盘搜索 — 使用
## 搜索资源
```bash
# 夸克网盘搜索
mcporter call 'netdisk.search(query: "流浪地球", cloud_types: ["quark"])'
# 多平台搜索
mcporter call 'netdisk.search(query: "权力的游戏", cloud_types: ["quark", "baidu", "aliyun"])'
# 搜索磁力链接
mcporter call 'netdisk.search(query: "奥本海默", cloud_types: ["magnet"])'
```
## 支持的平台
| cloud_types | 平台 |
|-------------|------|
| `quark` | 夸克网盘 |
| `baidu` | 百度网盘 |
| `aliyun` | 阿里云盘 |
| `115` | 115 网盘 |
| `xunlei` | 迅雷网盘 |
| `pikpak` | PikPak |
| `tianyi` | 天翼云盘 |
| `uc` | UC 网盘 |
| `123` | 123 网盘 |
| `magnet` | 磁力链接 |
| `ed2k` | eD2K 链接 |
## 高级搜索
```bash
# 包含+排除关键词
mcporter call 'netdisk.search(query: "电视剧", include: ["合集"], exclude: ["预告", "花絮"])'
# 指定来源
mcporter call 'netdisk.search(query: "电影", source: "tg")'
# source: "all"(默认全部), "tg"Telegram频道), "plugin"(搜索插件)
# 强制刷新(跳过缓存)
mcporter call 'netdisk.search(query: "最新电影", refresh: true)'
```
## 搜索结果处理
搜索结果包含:标题、分享 URL、提取码、日期、来源。
```bash
# 找到目标链接后,查看分享内容
mcporter call 'netdisk.view(share_link: "https://pan.quark.cn/s/xxx")'
```
## 注意事项
- **调用必须用函数式语法**`'netdisk.search(query: "...")'`,不能用 `key=value`
- **搜索质量依赖 PanSou 服务**:免费版结果可能不全
- **磁力链接**需要通过 115 网盘的离线下载功能处理(`netdisk.offline_download`