feat: 新增 Instagram、LinkedIn、Boss直聘 三个渠道
新增渠道: - Instagram: 基于 instaloader (⭐9.8K),读取帖子/Profile,Cookie 登录 - LinkedIn: 基于 linkedin-scraper-mcp (⭐900+) MCP 服务,Jina Reader fallback - Boss直聘: 基于 mcp-bosszp MCP 服务,Jina Reader fallback 代码改动: - 新建 channels/instagram.py, linkedin.py, bosszhipin.py - 注册到 channels/__init__.py - cli.py 添加 search-instagram/linkedin/bosszhipin 子命令 - cli.py 安装逻辑添加 instaloader 自动安装 - core.py 添加 search_instagram/linkedin/bosszhipin 方法 - README.md + docs/README_en.md 更新平台表格和选型表格 - docs/install.md 添加三个新渠道的配置说明和 Quick Reference
This commit is contained in:
@@ -58,6 +58,9 @@ Copy that to your Agent. A few minutes later, it can read tweets, search Reddit,
|
||||
| 🌐 **Web** | Read | Zero config | Any URL → clean Markdown ([Jina Reader](https://github.com/jina-ai/reader) ⭐9.8K) |
|
||||
| 🐦 **Twitter/X** | Read · Search | Zero config / Cookie | Single tweets readable out of the box. Cookie unlocks search, timeline, posting ([bird](https://github.com/steipete/bird)) |
|
||||
| 📕 **XiaoHongShu** | Read · Search · **Post · Comment · Like** | mcporter | Via [xiaohongshu-mcp](https://github.com/user/xiaohongshu-mcp) internal API, install and go |
|
||||
| 📷 **Instagram** | Read · Search | instaloader | Posts, profiles, hashtags ([instaloader](https://github.com/instaloader/instaloader) ⭐9.8K) |
|
||||
| 💼 **LinkedIn** | Read · Search | mcporter / Jina | Profiles, companies, job search ([linkedin-scraper-mcp](https://github.com/stickerdaniel/linkedin-mcp-server) ⭐900+) |
|
||||
| 🏢 **Boss直聘** | Read · Search | mcporter / Jina | Job search, greet recruiters ([mcp-bosszp](https://github.com/mucsbr/mcp-bosszp)) |
|
||||
| 🔍 **Web Search** | Search | Auto-configured | Auto-configured during install, free, no API key ([Exa](https://exa.ai) via [mcporter](https://github.com/nicepkg/mcporter)) |
|
||||
| 📦 **GitHub** | Read · Search | Zero config | [gh CLI](https://cli.github.com) powered. Public repos work immediately. `gh auth login` unlocks Fork, Issue, PR |
|
||||
| 📺 **YouTube** | Read · **Search** | Zero config | Subtitles + search across 1800+ video sites ([yt-dlp](https://github.com/yt-dlp/yt-dlp) ⭐148K) |
|
||||
@@ -182,6 +185,9 @@ channels/
|
||||
├── bilibili.py → yt-dlp ← swap to bilibili-api…
|
||||
├── reddit.py → JSON API + Exa ← swap to PRAW, Pushshift…
|
||||
├── xiaohongshu.py → mcporter MCP ← swap to other XHS tools…
|
||||
├── instagram.py → instaloader ← swap to instagrapi, official API…
|
||||
├── linkedin.py → linkedin-mcp ← swap to LinkedIn API…
|
||||
├── bosszhipin.py → mcp-bosszp ← swap to other job tools…
|
||||
├── rss.py → feedparser ← swap to atoma…
|
||||
├── exa_search.py → mcporter MCP ← swap to Tavily, SerpAPI…
|
||||
└── __init__.py → Channel registry
|
||||
@@ -198,6 +204,9 @@ channels/
|
||||
| GitHub | [gh CLI](https://cli.github.com) | Official tool, full API after auth |
|
||||
| Read RSS | [feedparser](https://github.com/kurtmckee/feedparser) | Python ecosystem standard, 2.3K stars |
|
||||
| XiaoHongShu | [xiaohongshu-mcp](https://github.com/user/xiaohongshu-mcp) | Internal API, bypasses anti-bot |
|
||||
| Instagram | [instaloader](https://github.com/instaloader/instaloader) | 9.8K stars, Python CLI, cookie auth, free |
|
||||
| LinkedIn | [linkedin-scraper-mcp](https://github.com/stickerdaniel/linkedin-mcp-server) | 900+ stars, MCP server, browser automation |
|
||||
| Boss直聘 | [mcp-bosszp](https://github.com/mucsbr/mcp-bosszp) | MCP server, job search + recruiter greeting |
|
||||
|
||||
> 📌 These are the *current* choices. Don't like one? Swap out the file. That's the whole point of scaffolding.
|
||||
|
||||
|
||||
+41
-1
@@ -69,7 +69,44 @@ mcporter config add xiaohongshu http://localhost:18060/mcp
|
||||
> 如果在服务器上,建议加代理避免 IP 风控:
|
||||
> `docker run -d --name xiaohongshu-mcp -p 18060:18060 -e XHS_PROXY=http://user:pass@ip:port xpzouying/xiaohongshu-mcp`
|
||||
>
|
||||
> 首次使用需要扫码登录,打开 http://localhost:18060 操作。
|
||||
> **登录方式:**
|
||||
> - **本地电脑(有浏览器):** 打开 http://localhost:18060 扫码登录即可。
|
||||
> - **服务器(无 UI 界面):** 服务器上通常没有浏览器,无法直接扫码。最方便的方式是在自己的电脑上用浏览器登录小红书,然后用 [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) 插件导出 Cookie(Header String 格式),发给 Agent 即可完成配置。详见 [Cookie 导出指南](cookie-export.md)。
|
||||
|
||||
**Instagram (需要 instaloader):**
|
||||
> "Instagram 需要 instaloader。我来帮你安装。"
|
||||
|
||||
```bash
|
||||
pip install instaloader
|
||||
```
|
||||
|
||||
> 登录后可访问更多内容(私密帖子等):`instaloader --login YOUR_USERNAME`
|
||||
> 服务器用户同样可以在本地电脑登录后,导出 Cookie 发给 Agent。
|
||||
|
||||
**LinkedIn (可选 — linkedin-scraper-mcp):**
|
||||
> "LinkedIn 基本内容可通过 Jina Reader 读取。完整功能(Profile 详情、职位搜索)需要 linkedin-scraper-mcp。"
|
||||
|
||||
```bash
|
||||
pip install linkedin-scraper-mcp
|
||||
uvx linkedin-scraper-mcp --login # 首次需在有浏览器的机器上登录
|
||||
uvx linkedin-scraper-mcp --transport streamable-http --port 8001 # 启动 MCP 服务
|
||||
mcporter config add linkedin http://localhost:8001/mcp
|
||||
```
|
||||
|
||||
> 详见 https://github.com/stickerdaniel/linkedin-mcp-server
|
||||
|
||||
**Boss直聘 (可选 — mcp-bosszp):**
|
||||
> "Boss直聘职位页面可直接读取。完整搜索和打招呼功能需要 mcp-bosszp。"
|
||||
|
||||
```bash
|
||||
git clone https://github.com/mucsbr/mcp-bosszp.git && cd mcp-bosszp
|
||||
pip install -r requirements.txt && playwright install chromium
|
||||
python boss_zhipin_fastmcp_v2.py # 启动 MCP 服务
|
||||
mcporter config add bosszhipin http://localhost:8000/mcp
|
||||
```
|
||||
|
||||
> 或用 Docker:`docker-compose up -d`
|
||||
> 详见 https://github.com/mucsbr/mcp-bosszp
|
||||
|
||||
### Step 4: Final check
|
||||
|
||||
@@ -112,3 +149,6 @@ If the user wants a different agent to handle it, let them choose.
|
||||
| `agent-reach search-youtube "query"` | Search YouTube |
|
||||
| `agent-reach search-bilibili "query"` | Search Bilibili |
|
||||
| `agent-reach search-xhs "query"` | Search XiaoHongShu |
|
||||
| `agent-reach search-instagram "query"` | Search Instagram |
|
||||
| `agent-reach search-linkedin "query"` | Search LinkedIn |
|
||||
| `agent-reach search-bosszhipin "query"` | Search Boss直聘 |
|
||||
|
||||
Reference in New Issue
Block a user