dsh-douyin
DeepSeek Harness 插件:扫码登录抖音、归纳收藏视频、按时间批量取消收藏
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:youzishan6a/dsh-douyinREADME
Read the full README ↗首次使用
你:帮我登录抖音
Agent:调用 douyin_login → 弹出浏览器窗口显示二维码
你:用抖音 App 扫码
Agent:登录成功,登录态保存到 ~/.dsh/douyin/state.json
接着:
你:看看我最近收藏了什么,帮我总结一下美食类的
Agent:douyin_favorites_scan → douyin_favorites_summarize(types=["美食"])
你:把一年前收藏的、已经不想看的带货视频取消收藏
Agent:douyin_unfavorite_old(olderThanDays=365, exclude="带货", dryRun=true)
→ 给你清单确认
你:确认,执行
Agent:douyin_unfavorite_old(..., dryRun=false, confirm=true)
配置
在 cordis.patch.yml 的条目里加 config:
- insert:
- id: dsh-douyin
name: dsh-douyin
config:
dataDir: "~/.dsh/douyin"
browserChannel: auto # auto | chrome | msedge | chromium
headless: false # 无头模式容易被验证码拦截
allowDestructive: true # 改成 false 可彻底禁用取消收藏
maxUnfavoritePerRun: 50 # 单次上限,最大 100
chunkSize: 15 # 每轮勾选条数,最大 30
enrichLimit: 20 # 每次最多补全多少条发布时间
maxScrolls: 120 # 单批最多滚动次数,后面的批次需要更多滚动
scanLimit: 150 # 单批扫描条数,上限 150
favoritesUrl: "https://www.douyin.com/user/self?showTab=favorite_collection"
使用边界
- 仅用于管理你自己账号的收藏,不要用于批量操作他人账号或商业爬取。
- 自动化操作可能与抖音用户协议存在冲突,账号风险由使用者自行承担;建议控制频率、小批量操作。
- 插件不提供任何绕过风控、验证码或登录保护的能力。