Commit Graph

16 Commits

Author SHA1 Message Date
sutong f35fc9b2b1 增加强调 2026-05-17 17:39:27 +08:00
sutong 38754d0687 refactor: remove sources/search module (merged into storage/quark)
- 删除 sources/search/(netdisk.search 只是一个附属功能)
- SKILL.md: 移除 search 相关引用,夸克行改为 转存/建目录/移动/删除/搜索

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 22:33:29 +08:00
sutong 36db2f2daa docs: add yunpan1 to SKILL.md routing
- 架构图增加 yunpan1
- 已知数据源增加 yunpan1
- 场景路由增加 yunpan1 论坛搜索

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 22:26:26 +08:00
sutong 5d296ee38b feat: add quark rename API
- storage/quark/v1/usage.md: 新增重命名操作
- ref/quark-netdisk-helper/SKILL.md: 新增重命名操作
- ref/resource-pipeline/quark-api.md: 端点表新增重命名

POST /1/clouddrive/file/rename {"fid":"...","file_name":"..."}

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 22:17:43 +08:00
sutong 3d37edfebf docs: align yunpan1 captcha code with tested flow
- 填值 + dispatchEvent (input/change)
- 遍历 button 找"提交"
- 弹窗不消失时导航到板块页面

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 22:00:36 +08:00
sutong af5059c585 docs: add yunpan1 captcha handling
- usage.md: 增加验证码弹窗处理步骤,验证码 392718

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 21:48:20 +08:00
sutong 3fced32625 refactor: yunpan1 full Playwright workflow (verified)
- 删除 yunpan1_search.py(Python 不稳定)
- 删除 tmp/yunpan1_cookies.txt
- usage.md: Playwright 完整流程(登录→搜索→回复→获取链接)
- 全部步骤经 Playwright 实机验证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 21:44:37 +08:00
sutong 01dbdc8455 fix: improve yunpan1 search script robustness
- Cookie 兼容两种格式(key=value 和 Netscape)
- 搜索 30s 超时熔断,不傻等 1-2 分钟
- 超时/失败后自动降级到动漫板块最新帖子
- 帖子提取正则兼容多种 URL 格式

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 20:54:59 +08:00
sutong ecc1b9d6dc feat: add yunpan1 search source
- sites/yunpan1/v1/: 新增云盘资源分享社区搜索源
  - intro.md: 论坛介绍、板块列表
  - urls.md: 站点链接、Cookie 维护说明
  - usage.md: 搜索脚本使用、登录流程
  - yunpan1_search.py: Python 搜索脚本(标准库零依赖)
- .gitignore: 追加 .idea/ __pycache__/ *.pyc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 20:44:28 +08:00
sutong a39547f5f6 docs: add README.md
项目概述、前置依赖、快速开始、模块结构、主要工作流

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 19:03:37 +08:00
sutong 1cb565161c feat: add tmp/ directory for temp files and cookie, add .gitignore
- tmp/ 用于存放临时文件(文档缓存、cookie等),已加入 .gitignore
- 文档中所有临时文件和 cookie 路径统一指向 tmp/
- SKILL.md 架构图增加 tmp/ 说明

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 18:59:32 +08:00
sutong a2c3463d15 feat: add scrapper naming convention section to quark usage
- 电视剧/动漫、电影的刮削器命名格式
- 当前文件问题分析(无剧名、前缀混乱、格式不规范)
- 批量重命名 Python 脚本示例
- 目录结构要求(Season 01/02 等)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 18:56:01 +08:00
sutong 5bc15d1855 fix: add rule to search all dirs before transfer
storage/quark/v1/usage.md: 转存前必须先遍历所有相关目录
确认资源是否已存在,不能只看一个目录就下结论

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 18:47:56 +08:00
sutong 1a36d8119f fix: add size-based reading strategy and ban web-search fallback
sites/tacit0924/v1/urls.md: 新增"读取警告",标注文档 853K 字
  - 禁止 get_content
  - doc.resolve_document_structure 为唯一可行方案
  - 注明超时处理方式(重试一次,不行就停)

sources/tencent-doc/v1/usage.md: 重写为"文档大小分级"
  - 顶部增加策略表(<1万/1万-50万/>50万/未知)
  - 超大文档单独标注禁止 get_content
  - 增加超时处理步骤(重试一次,禁止 web search)

SKILL.md: 优先级规则第 4 条改为"禁止降级到 web search"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 18:37:56 +08:00
sutong e8a6fc4ca2 feat: add sites/ directory and scene routing with priority
- sites/tacit0924/v1/: 新增数据源目录,描述 Tacit0924 资源文档
  - intro.md: 文档介绍、更新规律、资源范围
  - urls.md: 文档链接、file_id、授权要求
  - toc.md: 内容结构、日期范围、搜索关键词参考
- SKILL.md: 重写场景路由,增加数据源优先级规则和触发词匹配
- 明确"每日更新"→ 腾讯文档路线、"特定资源"→ 先文档后搜索的降级策略

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 18:29:14 +08:00
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