BOSS Zhipin CDP Job Scraper

Reuse a logged-in Chrome session via CDP to scrape BOSS Zhipin jobs with plain-text salaries and generate analysis.

Stars
★ 1.8k
Last updated
22d ago
FARS reviewed
Sep 29, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLIAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Python 3.10+Google Chrome or Microsoft EdgeBOSS Zhipin account with logged-in sessionShell / CLINetwork accessLocal filesystem
Typical use
A job seeker wants to understand salary ranges and skill requirements for AI Agent roles in Shanghai and runs --keyword 'AI Agent' --city 上海 --pages 3 --analysis to export JSON/CSV and generate analysis.
Not a fit if
  • Teams that need fully headless, unattended server deployment
  • Data teams that require an official stable API or plan commercial resale
  • Users who do not want to install Chrome/Edge locally and log in to BOSS Zhipin manually
Website
blog.xiaohuangyu.space ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-03
Source review
60/100 · Some gaps

What does this agent do, and when should you use it?

This is a BOSS Zhipin job scraper built on Chrome DevTools Protocol. It connects to a locally running, already-logged-in Chrome or Edge instance, reuses the real session, and passively captures the page's own search API responses so it can read plain-text salaryDesc values without parsing font-obfuscated DOM salaries. The main script, scripts/boss_cdp_raw.py, handles isolated browser profile setup, environment checks, search, scroll-driven pagination, detail-page JD extraction, job_id deduplication, and incremental JSON/CSV writes; scripts/job_summary.py reads those results and aggregates salary ranges, experience and degree requirements, locations, top companies, skill tags, and JD keywords, then generates a copyable prompt for job-application material optimization. It supports 300+ Chinese cities, local company-name filtering, is_new markers, multi-dimensional filters, and --merge. It is MIT-licensed and runs as a CLI or as a Hermes Agent Skill / Agent Skills plugin via SKILL.md. The deployment boundary is a local desktop with Python 3.10+, Chrome or Edge, a manual BOSS Zhipin login, and a reachable CDP port.

The tool connects to a locally logged-in Chrome or Edge over CDP, opens a real BOSS Zhipin search page, and passively captures the page's own search API responses in the CDP Network domain without injecting XHR. Pagination is triggered by scrolling the page's own infinite-scroll loader, and the tool continues listening to the resulting requests. The list API returns salaryDesc in plain text, so the scraper does not need to parse font-obfuscated DOM salary text. When entering detail pages, it carries context such as securityId and lid from the list API, and extracts the JD only from the detail area containing job-description text, avoiding login walls, recruiter information, company introductions, or recommended jobs. Results are deduplicated by job_id and written incrementally to JSON/CSV, with --merge, local --company filtering, cross-run is_new markers, and --analysis for salary and skill analysis. scripts/job_summary.py reads the saved list and detail JSON files, aggregates salary ranges, experience requirements, degree requirements, location distribution, top companies, skill tags, and JD keywords, and produces a prompt for job-application material optimization. The prompt is based only on job data, does not read local resume files, and does not calculate a personal match score.

  1. A job seeker wants to understand salary ranges and skill requirements for AI Agent roles in Shanghai and runs --keyword 'AI Agent' --city 上海 --pages 3 --analysis to export JSON/CSV and generate analysis.
  2. A recruiter or headhunter wants to observe open roles at target companies such as ByteDance or Alibaba and uses --company '字节跳动,阿里巴巴' to filter already-scraped results locally without extra requests.
  3. A career coach or career changer needs high-frequency JD skill words and application-material direction, and runs scripts/job_summary.py --top 15 to generate a summary and prompt.
  4. A data analyst needs structured job data for spreadsheets or BI and uses --format csv to export list and detail CSVs.
  5. A developer studying Chrome DevTools Protocol, front-end anti-scraping, or real-session reuse can validate the pipeline with --check, --smoke-test, and --setup-chrome.
  6. Users of Claude Code, Codex, or other Agent Skills-compatible agents can install the skill with npx skills add and trigger job search and summaries in conversation.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install -r requirements.txt
  • npx skills add eatmoreduck/boss-zhipin-scraper
Config files
~/.boss-zhipin-scraper/chrome-profile ~/.boss-zhipin-scraper/job
Runtime
Python 3.10+

How do you install or deploy this agent?

Requirements: Python 3.10+, Google Chrome or Microsoft Edge, and a BOSS Zhipin account that can log in. Clone the source and install dependencies:

git clone https://github.com/eatmoreduck/boss-zhipin-scraper.git
cd boss-zhipin-scraper
pip install -r requirements.txt

On first use, launch the isolated BOSS browser and log in to zhipin.com:

python3 scripts/boss_cdp_raw.py --setup-chrome

To use Microsoft Edge instead:

python3 scripts/boss_cdp_raw.py --setup-edge

You can also install it as an Agent Skill for an Agent Skills-compatible agent:

npx skills add eatmoreduck/boss-zhipin-scraper

The login session is stored in the isolated profile at ~/.boss-zhipin-scraper/chrome-profile and does not copy or affect your main Chrome/Edge account data.

How do you use this agent?

First verify CDP, dependencies, and login state:

python3 scripts/boss_cdp_raw.py --check

Scrape jobs and generate analysis:

python3 scripts/boss_cdp_raw.py --keyword 'AI Agent' --city 上海 --pages 3 --format csv --analysis

Generate an aggregate summary and job-application optimization prompt after scraping:

python3 scripts/job_summary.py --top 15

Filter already-scraped results by company name locally:

python3 scripts/boss_cdp_raw.py --keyword 'Java' --city 上海 --pages 3 --company '字节跳动,阿里巴巴' --analysis

By default results are written to ~/.boss-zhipin-scraper/job-result/; use --output and --detail-output to set custom paths. Stop the dedicated browser when finished:

python3 scripts/boss_cdp_raw.py --stop-chrome

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Passively captures the page's own search API responses via CDP without injecting XHR, reading plain-text salaryDesc and avoiding font anti-scraping.
  • Uses a persistent isolated browser profile without copying main Chrome/Edge data; --stop-chrome targets the isolated profile precisely and does not touch the main browser.
  • Outputs JSON/CSV and supports detail-page JD extraction, salary and skill analysis, is_new markers, local company filtering, and incremental writes.
  • Runs as a CLI and can be installed as a Hermes Agent Skill or Agent Skills plugin via SKILL.md, under the MIT license.
  • Supports macOS, Linux, and Windows; Windows has unit-test and basic CLI verification.
Limitations
  • Requires a local headed Chrome/Edge and a manual BOSS Zhipin login, so it cannot run fully headless or unattended.
  • Depends on BOSS Zhipin page and search API anti-bot behavior; API, risk-control code, or page-structure changes can break scraping.
  • The disclaimer restricts commercial resale and malicious scraping; users must assess BOSS Zhipin's terms and legal risk themselves.
  • Windows real-scraping coverage still welcomes feedback, and detail-page Referer and request-fingerprint hardening remains a TODO.
  • Setup involves cloning, installing dependencies, launching a browser, and logging in, so it is not a one-command install.

How does this agent compare with similar options?

The project explicitly contrasts itself with Selenium/Playwright-style scrapers: Selenium/Playwright launch a full controlled browser, which is heavier and has a more obvious automation fingerprint that can trigger BOSS risk controls and captchas. This tool connects to an already-logged-in real Chrome/Edge over CDP, reuses the real fingerprint and login session, and passively captures the page's own search API responses without injecting XHR or parsing font-obfuscated DOM salary text. It is not a general-purpose browser automation framework; it is a dedicated BOSS Zhipin job-data collection tool.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
BOSS Zhipin CDP Job Scraper This agent 60 · Some gaps CLIFree ★ 1.8k 22d ago Python Codex · Claude Code
OpenAgents 42 · Major gaps Web appFree + model costs ★ 4.9k 2y ago Python OpenAI API
Firecrawl: Web Data API 65 · Some gaps Library / SDKFreemium ★ 210k today TypeScript ChatGPT · Claude Code
Apify MCP Server 63 · Some gaps Hosted serviceFree + model costs ★ 18k 1d ago TypeScript ChatGPT · Claude Code · Claude.ai

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
60/ 100 5-point scale 3.0 / 5
Trust 16/29
Reliability 9/14
Adaptability 12/18
Convention 11/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

Least privilege: default isolated profile (~/.boss-zhipin-scraper/chrome-profile), no main-browser data copy, --stop-chrome matches by user-data-dir rather than port/process name, corroborated by test_default_cdp_profile_is_persistent_and_not_default_or_tmp, so 2; however --copy-login-state overwrites Local State and Cookies DBs, a sensitive-credential operation guarded only by documentation, deducted. User confirmation: --copy-login-state, --reset-chrome-profile, --close-chrome are explicit opt-ins and off by default, so 2; but there is no interactive second confirmation, only flags. Data-flow transparency: README states it passively captures the page's own API responses, injects no requests, never reads a local resume, and job_summary does not score, so 2; but no field-level data-at-rest inventory. Sensitive data handling: explicitly does not copy password stores/history/extensions and keeps session only in the dedicated profile, so 2; but cookie-DB copy paths and overwrite behavior are documented only. Dependency security: only websocket-client and requests with upper bounds, no lockfile in repo (CI uses uv.lock but it is not provided), no vulnerability audit evidence, so 1. External effects: performs real scraping against zhipin.com with ToS and risk-control exposure; README has a disclaimer and a 500-request budget note, but no code-level rate-limit evidence, so 1. Rollback: --reset-chrome-profile clears login state and _atomic_write_json preserves the original file on failure (tested), so 2. Source attribution: MIT and author name present, but no upstream data-source or third-party code attribution, publisher unverified, so 1.

Reliability9 / 14 · 3.2/5

Self-consistency: README parameter table, pyproject entry points, and test assertions (city map, filter maps, login-probe classification) agree, so 2. Dependency availability: requires-python>=3.10, bounded dependency ranges, CI covers 3.10/3.13, so 2; but no uv.lock committed, so --locked is not locally reproducible. Failure messages: login probe distinguishes UNAUTHENTICATED/EMPTY/RESTRICTED/RESPONSE_ERROR, handles risk codes 31/37 plus keyword fallback, unknown cities error explicitly instead of silently returning zero, and job_summary reports bad input without a traceback, so 2.

Adaptability12 / 18 · 3.3/5

Audience and scenarios: targets job seekers/researchers, ships as both CLI and Agent Skill, multi-city and multi-filter, so 2. Capability boundaries: explicitly states DOM fallback is off by default with unreliable salaries, detail pages extract only the JD section, and no resume reading or scoring, so 2. Trigger precision: --keyword/--city/--pages etc. are explicit and unknown cities fail pre-validation, so 2. Environment fit: claims macOS/Linux/Windows support, but Windows is only unit-tested and basic-CLI checked with real flows still pending feedback, so 2.

Convention11 / 18 · 3.1/5

Information architecture: bilingual README, file-structure tree, clear parameter table, so 2. Install notes: five install paths with verification steps, so 2. Naming stability: version 2.3.0 consistent with entry-point names, so 2. Examples and FAQ: Quick Start, parameter examples, a 'Why not Selenium' collapsible, so 2. Known limitations: only one TODO (Referer fingerprinting) and the declared unverified Windows flow, so 2. License: full MIT text consistent with pyproject, so 3. Versioning/changelog: README references CHANGELOG.md but the file is not in the evidence, so content cannot be verified, 1. Maintenance responsibility: no CONTRIBUTING, no issue templates, no maintainer commitment, publisher unverified, so 1.

Effectiveness9 / 13 · 3.5/5

Output usability: JSON/CSV dual output, incremental writes, is_new flag, aggregated summary and prompt, so 2. Marginal value: reuses a real logged-in session to bypass font obfuscation and get plaintext salaries, differentiating it from Selenium approaches, so 2. Cost-benefit: light dependencies and no heavy browser, but requires manual login and a persistent dedicated browser, so 2.

Verifiability3 / 8 · 1.9/5

Claim traceability: README claims (plaintext salary, passive capture, no resume reading) have partial corresponding test assertions, but no per-claim citation, so 1. Cross-source corroboration: README, pyproject, and tests mutually corroborate the city map, entry points, and summary script, but core scraping logic (CDP capture, risk-control handling) has no independent source, so 1. Fact/inference separation: README flags unverified items (Windows real flow), but some stability/performance claims (more stable, harder to flag) are inferences left unlabeled, so 1.

Risks and how to mitigate them
  • --copy-login-state overwrites the main browser's Local State and Cookies DBs into the isolated profile; this is a sensitive-credential operation guarded only by documentation and should not be used for daily launches.
  • The tool performs real scraping against zhipin.com, which may violate the target's ToS and trigger risk control (code 31/37); users bear compliance and account risk.
  • No uv.lock is committed, so CI's uv sync --locked is not locally reproducible; only two dependencies but no vulnerability-audit evidence.
  • CHANGELOG.md referenced by the README is absent from the evidence, so version-change content cannot be verified.
  • The Windows real scraping flow is only unit-tested and basic-CLI checked; the README itself says feedback is still welcome, so cross-platform reliability is unproven.
  • Publisher identity is not verified by the FollowAgents curated enterprise registry; maintenance responsibility and update path are unclear.
Evidence confidence: Low Reviewed Sep 29, 2026 Reviewed revision 46e2965de42c
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/boss-zhipin-scraper.svg)](https://followagents.com/en/agents/boss-zhipin-scraper)
<a href="https://followagents.com/en/agents/boss-zhipin-scraper"><img src="https://followagents.com/badge/boss-zhipin-scraper.svg" alt="FARS review"></a>

FAQ

Does it require a paid API or LLM key?
No. The project is MIT-licensed and does not call an LLM itself; job_summary.py generates a copyable prompt rather than invoking a model.
Do I need to log in to BOSS Zhipin?
Yes. The first --setup-chrome or --setup-edge run opens a dedicated BOSS browser and requires manual login to zhipin.com; the session is stored in the isolated profile.
Can it run on a headless server?
The documentation only describes a headed Chrome/Edge workflow with manual login and does not provide a headless server deployment path; it needs a local browser and a reachable CDP port.
Which operating systems are supported?
macOS, Linux, and Windows. Windows has unit-test and basic CLI verification, and real-scraping feedback is still welcome.
Where are scrape results stored?
By default under ~/.boss-zhipin-scraper/job-result/; use --output and --detail-output to set custom list and detail paths.
Is BOSS Zhipin CDP Job Scraper open source?
Yes. The source code is on GitHub (eatmoreduck/boss-zhipin-scraper) under the MIT licence.
Is BOSS Zhipin CDP Job Scraper safe to use?
FollowAgents' FARS review (Sep 29, 2026) scored BOSS Zhipin CDP Job Scraper 16/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is BOSS Zhipin CDP Job Scraper still maintained?
Yes. The latest commit on GitHub is from 2026-11-03, within the last 30 days.
Who makes BOSS Zhipin CDP Job Scraper?
BOSS Zhipin CDP Job Scraper is published on GitHub by the account eatmoreduck. FollowAgents has not verified which person or company is behind that account.
What is BOSS Zhipin CDP Job Scraper's official website?
The project's GitHub repository lists https://blog.xiaohuangyu.space/p/boss-zhipin-scraper-open-source/ as its website. That link is set by the repository owner; the source code itself is on GitHub (eatmoreduck/boss-zhipin-scraper).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts