x-scraper
Installation
SKILL.md
X 抓取 (x-scraper)
概述
通过已连接 CDP 的浏览器(agent-browser)抓取 X (Twitter) 内容,包含两个脚本:
- scrape_x_user.sh — 抓取指定用户时间线,可选关键词过滤
- scrape_x_home.sh — 抓取当前登录用户的首页推荐流(For you / Following)
输出格式统一支持 Markdown / RSS / JSON。
工具路径
- 用户抓取:
./scrape_x_user.sh - 首页推荐:
./scrape_x_home.sh - 依赖:
agent-browser(CDP 已连接且已登录 X)、python3