Files
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

74 lines
1.7 KiB
Markdown
Raw Permalink 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.
# 工作流:搜索 → 夸克网盘
通过 `netdisk.search` 跨平台搜索资源,找到分享链接后转存到夸克网盘。
## 步骤
### Step 1: 搜索资源
```bash
# 基本搜索
mcporter call 'netdisk.search(query: "流浪地球 4K")'
# 指定平台(夸克+磁力)
mcporter call 'netdisk.search(query: "流浪地球", cloud_types: ["quark", "magnet"])'
# 高级搜索:包含/排除关键词
mcporter call 'netdisk.search(query: "电视剧", include: ["合集"], exclude: ["预告"])'
```
支持的 `cloud_types`
| 类型 | 平台 |
|------|------|
| `quark` | 夸克网盘 |
| `baidu` | 百度网盘 |
| `aliyun` | 阿里云盘 |
| `115` | 115网盘 |
| `xunlei` | 迅雷网盘 |
| `magnet` | 磁力链接 |
| `pikpak` | PikPak |
### Step 2: 查看分享链接
用户选择结果中的一条链接后:
```bash
mcporter call 'netdisk.view(share_link: "https://pan.quark.cn/s/xxx")'
```
确认文件内容、大小是否符合预期。
### Step 3: 创建/确认目标目录
```bash
mcporter call 'netdisk.list(cloud: "quark", path: "/")'
```
如果目标目录不存在,参考 `references/quark-api.md` 创建。
### Step 4: 转存
```bash
mcporter call 'netdisk.transfer(share_link: "https://pan.quark.cn/s/xxx", source_pattern: "/*", target_path: "/目标路径")'
```
### Step 5: 验证
```bash
mcporter call 'netdisk.list(cloud: "quark", path: "/目标路径")'
```
如有杂文件用 Quark API 删除。
## 典型场景:找电影
```
1. search("奥本海默 4K", cloud_types=["quark"])
2. 用户选择一条结果
3. view() 确认是否为目标电影
4. 创建 /电影/2024 目录(如不存在)
5. transfer 到该目录
6. 验证
```