Install
git clone https://github.com/lisniuse/taoguba-crawler-skillInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →taoguba-crawler-skill
淘股吧抓取与复盘项目。当前已经改造成可长期运行的定时任务:
- 每天固定时间执行一次,默认 19:00
- 抓取淘股吧论坛或首页推荐
- 生成
output/下的 JSON、HTML 和最终发送用 Markdown - 调用 DashScope 兼容接口做中文复盘分析
- 通过 picoclaw 推送到飞书
- 支持
testsend/testsend-live - 支持
deploy.py部署到远端 - 支持 PM2 托管主进程
目录
- main.py: 每日定时主进程
- app_common.py:
.env、代理、通知、日志公共能力 - scripts/taoguba_report.py: 报告生成与通知发送
- scripts/crawler_bbs.py: 股吧论坛抓取
- scripts/crawler_home.py: 首页推荐抓取
- deploy.py: 上传部署脚本
- ecosystem.config.js: PM2 配置
环境变量
复制 .env.example 为 .env,至少配置这些项:
COOKIE=你的淘股吧 Cookie
SCRAPE_TIME=19:00
TAOGUBA_SOURCE=bbs
DASHSCOPE_API_KEY=你的 DashScope Key
DASHSCOPE_BASE_URL=https://coding.dashscope.aliyuncs.com/v1
DASHSCOPE_MODEL=qwen3.5-plus
PICOCLAW_EXE=/home/nuonuo/picoclaw-linux-amd64
PICOCLAW_CHANNEL=feishu
可选:
HTTP_PROXY=127.0.0.1:2334
HTTPS_PROXY=127.0.0.1:2334
安装
python -m pip install -r requirements.txt
建议使用虚拟环境:
python -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
使用
主进程:
python main.py
复用最近一次报告发送测试消息:
python main.py testsend
实时抓取并立即发送:
python main.py testsend-live
输出
output/: 爬虫生成的 JSON、HTML,以及最终发送给渠道的 Markdownoutput/latest_report.md: 最近一次发送用的 Markdownoutput/report-YYYYMMDD-HHMMSS.md: 按时间归档的发送内容logs/: 主进程日志、PM2 日志state/latest_report.json: 最近一次完整报告state/main_state.json: 主进程每日执行状态
部署
.env 配好 UPLOAD_HOST / UPLOAD_USER / UPLOAD_PASSWORD 后执行:
python deploy.py
默认部署到:
/home/nuonuo/app/taoguba-crawler-skill
PM2
cd /home/nuonuo/app/taoguba-crawler-skill
pm2 start ecosystem.config.js
pm2 save
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…