boss-job-search
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBoss直聘职位搜索
Boss Zhipin Job Search
依赖
Dependencies
bash
python3 -m pip install wuying-agentbay-sdkbash
python3 -m pip install wuying-agentbay-sdk安装步骤
Installation Steps
在使用此技能之前,请确保已安装必要的依赖包:
bash
python3 -m pip install wuying-agentbay-sdkBefore using this skill, please make sure the necessary dependency packages are installed:
bash
python3 -m pip install wuying-agentbay-sdk使用场景
Usage Scenarios
- 用户想搜索Boss直聘上的特定职位
- 用户想筛选特定公司规模的岗位
- 用户想了解某类职位的薪资范围和要求
- 用户想获取最新的职位招聘信息
- Users want to search for specific jobs on Boss Zhipin
- Users want to filter positions by specific company sizes
- Users want to learn about the salary range and requirements for certain job types
- Users want to get the latest job recruitment information
使用方法
Usage Method
bash
python3 scripts/browser-use.py "<任务执行步骤>"bash
python3 scripts/browser-use.py "<task execution steps>"快速示例
Quick Examples
示例1:搜索AI Infra工程师职位(公司规模10000人以上)
Example 1: Search for AI Infra Engineer positions (company size over 10,000 employees)
bash
python3 scripts/browser-use.py " \
1. 前往Boss直聘网站 https://www.zhipin.com/ \
2. 等待页面加载完成,确认首页搜索框及导航栏显示正常 \
3. 定位顶部职位搜索框,输入关键词'AI Infra工程师' \
4. 点击搜索按钮(标注'搜索'或放大镜图标),进入职位列表页 \
5. 定位页面左侧筛选栏'公司规模'选项,展开下拉列表 \
6. 勾选'10000人以上'(若存在'10000人及以上'选项则勾选对应项) \
7. 等待页面自动刷新,筛选出符合公司规模条件的职位 \
8. 遍历前15条职位信息(若不足15条则获取全部) \
9. 提取每条职位的:职位名称、公司名称、公司规模、薪资范围、工作地点、职位发布时间、职位简介 \
10. 以markdown格式返回所有符合条件的职位信息
"bash
python3 scripts/browser-use.py " \
1. Go to Boss Zhipin website https://www.zhipin.com/ \
2. Wait for the page to load completely, confirm that the homepage search box and navigation bar are displayed normally \
3. Locate the top job search box, enter the keyword'AI Infra Engineer' \
4. Click the search button (marked 'Search' or magnifying glass icon), enter the job list page \
5. Locate the 'Company Size' option in the left filter bar of the page, expand the drop-down list \
6. Check '10000人以上'(若存在'10000人及以上'选项则勾选对应项) \
7. Wait for the page to refresh automatically, filter out positions that meet the company size criteria \
8. Traverse the first 15 job information entries (get all if there are less than 15) \
9. Extract the following information for each job: job title, company name, company size, salary range, work location, job posting time, job description \
10. Return all eligible job information in markdown format
"示例2:搜索Python工程师职位(不限公司规模)
Example 2: Search for Python Engineer positions (no company size restriction)
bash
python3 scripts/browser-use.py " \
1. 访问Boss直聘 https://www.zhipin.com/ \
2. 在搜索框中输入'Python工程师' \
3. 点击搜索进入职位列表页 \
4. 提取前10条职位的详细信息 \
5. 以markdown格式整理返回
"bash
python3 scripts/browser-use.py " \
1. Visit Boss Zhipin https://www.zhipin.com/ \
2. Enter 'Python Engineer' in the search box \
3. Click search to enter the job list page \
4. Extract detailed information of the first 10 jobs \
5. Organize and return in markdown format
"示例3:搜索产品经理职位(筛选薪资和经验)
Example 3: Search for Product Manager positions (filter by salary and experience)
bash
python3 scripts/browser-use.py " \
1. 打开Boss直聘网站 https://www.zhipin.com/ \
2. 搜索'产品经理' \
3. 在筛选栏中选择薪资范围'20-40K' \
4. 在筛选栏中选择经验要求'3-5年' \
5. 提取前15条符合条件的职位信息 \
6. 返回markdown格式的职位列表
"bash
python3 scripts/browser-use.py " \
1. Open Boss Zhipin website https://www.zhipin.com/ \
2. Search for 'Product Manager' \
3. Select the salary range '20-40K' in the filter bar \
4. Select the experience requirement '3-5 years' in the filter bar \
5. Extract the first 15 eligible job information entries \
6. Return the job list in markdown format
"输出格式
Output Format
markdown
undefinedmarkdown
undefinedBoss直聘职位搜索 - [搜索关键词]
Boss Zhipin Job Search - [Search Keyword]
职位列表
Job List
-
职位名称
- 公司名称: xxx
- 公司规模: xxx人
- 薪资范围: xx-xxK
- 工作地点: xxx
- 发布时间: xxxx-xx-xx
- 职位简介: xxxxx
-
职位名称
- 公司名称: xxx
- 公司规模: xxx人
- 薪资范围: xx-xxK
- 工作地点: xxx
- 发布时间: xxxx-xx-xx
- 职位简介: xxxxx
-
Job Title
- Company Name: xxx
- Company Size: xxx employees
- Salary Range: xx-xxK
- Work Location: xxx
- Posting Time: xxxx-xx-xx
- Job Description: xxxxx
-
Job Title
- Company Name: xxx
- Company Size: xxx employees
- Salary Range: xx-xxK
- Work Location: xxx
- Posting Time: xxxx-xx-xx
- Job Description: xxxxx
统计信息
Statistical Information
- 总计: xx条职位
- 平均薪资: xx-xxK
- 最高薪资: xxK
- 最低薪资: xxK
undefined- Total: xx jobs
- Average Salary: xx-xxK
- Highest Salary: xxK
- Lowest Salary: xxK
undefined异常处理
Exception Handling
- 若搜索关键词无匹配职位,反馈"无相关职位",终止任务
- 若筛选栏选项不可选或页面异常,记录异常信息,尝试刷新页面后重试
- 若页面出现验证码,提示需要人工协助验证,暂停任务
- 若页面加载超时,增加等待时间或重新访问
- If no matching jobs are found for the search keyword, feedback "No relevant jobs" and terminate the task
- If filter bar options are unavailable or the page is abnormal, record the exception information and try refreshing the page to retry
- If a verification code appears on the page, prompt that manual assistance is required for verification and pause the task
- If the page loading times out, increase the waiting time or re-access the page
注意事项
Notes
- 始终注明信息来源为Boss直聘
- 不需要创建新的脚本,用skill目录下的browser-use.py
- 如果页面加载较慢,请耐心等待
- 任务执行需要1~2分钟,请耐心等待观察,也不要重试
- skill调用后,控制台会打印出asp流化链接(可视化的url),可告知用户查看
- 职位信息会实时更新,以抓取时刻的数据为准
- 部分职位详情可能需要登录才能查看完整信息
- Boss直聘可能有反爬虫机制,遇到验证码请人工协助
- Always indicate that the information source is Boss Zhipin
- No need to create new scripts, use browser-use.py under the skill directory
- Please wait patiently if the page loads slowly
- Task execution takes 1~2 minutes, please wait patiently and do not retry
- After calling the skill, the console will print an ASP streaming link (visual URL), which can be shared with the user for viewing
- Job information is updated in real-time, subject to the data captured at the time of crawling
- Some job details may require login to view complete information
- Boss Zhipin may have anti-crawling mechanisms; please seek manual assistance if encountering verification codes