remove: drop Boss直聘 channel (non-functional) (#135)

Boss直聘 channel removed entirely — upstream mcp-bosszp
triggers account-level bans, making it unusable in practice.

Removed from: channel registry, README (CN/EN), install.md,
SKILL.md, tests, credits.

Co-authored-by: Panniantong <panniantong@users.noreply.github.com>
This commit is contained in:
Pnant
2026-03-10 10:14:59 +08:00
committed by GitHub
parent 55efebd395
commit 00d80d2169
8 changed files with 4 additions and 134 deletions
-2
View File
@@ -18,7 +18,6 @@ from .exa_search import ExaSearchChannel
from .xiaohongshu import XiaoHongShuChannel
from .douyin import DouyinChannel
from .linkedin import LinkedInChannel
from .bosszhipin import BossZhipinChannel
from .wechat import WeChatChannel
from .weibo import WeiboChannel
from .xiaoyuzhou import XiaoyuzhouChannel
@@ -34,7 +33,6 @@ ALL_CHANNELS: List[Channel] = [
XiaoHongShuChannel(),
DouyinChannel(),
LinkedInChannel(),
BossZhipinChannel(),
WeChatChannel(),
WeiboChannel(),
XiaoyuzhouChannel(),
-63
View File
@@ -1,63 +0,0 @@
# -*- coding: utf-8 -*-
"""Boss直聘 — check if mcp-bosszp is available."""
import shutil
import subprocess
from .base import Channel
class BossZhipinChannel(Channel):
name = "bosszhipin"
description = "Boss直聘职位搜索"
backends = ["mcp-bosszp", "Jina Reader"]
tier = 2
def can_handle(self, url: str) -> bool:
from urllib.parse import urlparse
domain = urlparse(url).netloc.lower()
return "zhipin.com" in domain or "boss.com" in domain
def check(self, config=None):
mcporter = shutil.which("mcporter")
if not mcporter:
return "off", (
"可通过 Jina Reader 读取职位页面。完整功能需要:\n"
" 1. git clone https://github.com/mucsbr/mcp-bosszp.git\n"
" 2. cd mcp-bosszp && pip install -r requirements.txt && playwright install chromium\n"
" 3. python boss_zhipin_fastmcp_v2.py(启动后扫码登录)\n"
" 4. mcporter config add bosszhipin http://localhost:8000/mcp"
)
try:
r = subprocess.run(
[mcporter, "config", "get", "bosszhipin", "--json"],
capture_output=True,
encoding="utf-8",
errors="replace",
timeout=5,
)
if r.returncode != 0 or "bosszhipin" not in r.stdout.lower():
return "off", (
"mcporter 已装但 Boss直聘 MCP 未配置。\n"
" 详见 https://github.com/mucsbr/mcp-bosszp"
)
except Exception:
return "off", "mcporter 连接异常"
try:
r = subprocess.run(
[mcporter, "call", "bosszhipin.get_login_info_tool", "--output", "json"],
capture_output=True,
encoding="utf-8",
errors="replace",
timeout=10,
)
out = r.stdout.lower()
if r.returncode == 0 and "\"is_logged_in\": true" in out:
return "ok", "完整可用(职位搜索、登录态检查、向 HR 打招呼)"
if r.returncode == 0:
return "ok", "MCP 已连接,可搜索职位;打招呼前可能需要先登录"
return "warn", "MCP 已配置,但连接异常;请检查 mcp-bosszp 服务状态"
except subprocess.TimeoutExpired:
return "warn", "MCP 已配置,但健康检查超时;请检查 mcp-bosszp 服务状态"
except Exception:
return "warn", "MCP 已配置,但连接异常;请检查 mcp-bosszp 服务状态"
+2 -9
View File
@@ -3,7 +3,7 @@ name: agent-reach
description: >
Use the internet: search, read, and interact with 13+ platforms including
Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu (小红书), Douyin (抖音),
WeChat Articles (微信公众号), LinkedIn, Boss直聘, RSS, Exa web search, and any web page.
WeChat Articles (微信公众号), LinkedIn, RSS, Exa web search, and any web page.
Use when: (1) user asks to search or read any of these platforms,
(2) user shares a URL from any supported platform,
(3) user asks to search the web, find information online, or research a topic,
@@ -136,14 +136,7 @@ mcporter call 'linkedin.search_people(keyword: "AI engineer", limit: 10)'
Fallback: `curl -s "https://r.jina.ai/https://linkedin.com/in/username"`
## Boss直聘 (mcporter)
```bash
mcporter call 'bosszhipin.get_recommend_jobs_tool(page: 1)'
mcporter call 'bosszhipin.search_jobs_tool(keyword: "Python", city: "北京")'
```
Fallback: `curl -s "https://r.jina.ai/https://www.zhipin.com/job_detail/xxx"`
## RSS (feedparser)
## RSS