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>
This commit is contained in:
2026-05-16 21:44:37 +08:00
parent 01dbdc8455
commit 3fced32625
3 changed files with 75 additions and 258 deletions
+6 -22
View File
@@ -7,28 +7,6 @@
| 站点 | https://yunpan1.cc/ |
| 旧版 | https://old.yunpan1.wang |
| 类型 | Discuz! 论坛 |
| 登录 | 需要账号 |
| Cookie 有效期 | 约 1 天 |
## 账号
| 项目 | 值 |
|------|-----|
| 邮箱 | 需要向用户索要 |
| 密码 | 需要向用户索要 |
## Cookie
成功登录后 Cookie 保存在 `tmp/yunpan1_cookies.txt`,有效期约 1 天。
Cookie 过期后需要通过 Playwright 重新登录。登录流程:
```
1. 打开 https://yunpan1.cc/member.php?mod=logging&action=login
2. 填写邮箱 + 密码 + 点击登录
3. 从浏览器上下文中提取 auth、saltkey 等 Cookie
4. 写入 tmp/yunpan1_cookies.txt
```
## 板块链接
@@ -36,3 +14,9 @@ Cookie 过期后需要通过 Playwright 重新登录。登录流程:
|------|-----|
| 动漫 | https://yunpan1.cc/forum.php?mod=forumdisplay&fid=3 |
| 影视 | https://yunpan1.cc/forum.php?mod=forumdisplay&fid=2 |
## 搜索
```
https://yunpan1.cc/search.php?mod=forum&srchtxt=关键词&searchsubmit=yes
```