# bosszhipin-selenium **Repository Path**: co-code/bosszhipin-selenium ## Basic Information - **Project Name**: bosszhipin-selenium - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-16 - **Last Updated**: 2025-03-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # boss-selenium 使用python+selenium完成对boss互联网相关岗位的数据爬取,如果对您有所帮助,请对项目进行star鼓励一下作者。 # 感谢原作者 https://github.com/jhcoco/bosszp-selenium ## 1. 环境准备 **安装项目依赖库** ```cmd pip install -r requirements.txt ``` **创建数据库和表** ```sql drop database if exists spider_db; create database if not exists spider_db; use spider_db; drop table if exists job_info; create table spider_db.job_info ( job_loc varchar(255) null comment '公司位置', job_sec varchar(255) null comment '岗位需求', job_title varchar(255) null comment '岗位名称', job_company varchar(100) null comment '公司名称', job_experience varchar(255) null comment '工作经验', job_education varchar(255) null comment '学历', job_industry varchar(255) null comment '行业类型', job_scale varchar(255) null comment '规模', job_salary_range varchar(255) null comment '薪资', job_skills varchar(255) null comment '标签', create_time varchar(50) null comment '抓取时间' ); ``` ## 2.运行测试 ```cmd python boss_selenium.py ``` ## 3.运行结果 控制台显示: ![img.png](img.png) 数据库: ![img_1.png](img_1.png)