# reptile **Repository Path**: puppet-space/spider ## Basic Information - **Project Name**: reptile - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-19 - **Last Updated**: 2021-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 对智联招聘的招聘薪资的爬取和分析 - 本次项目使用的是Python 3.7+MangoDB - 前置条件 - 安装re - pip install re - 安装matplotlib - pip install matplotlib - calculate.py - 数据测算文件 - avg_sal 方法 - 求算薪资平均值 - min_price 方法 - 求取薪资最小值 - max_price 方法 - 求取薪资最大值 - db.py - 数据库连接文件 - insert_python 方法 - 将数据插入Python表中 - select_python 方法 - 从Python表中获取数据 - insert_java 方法 - 将数据插入Java表中 - select_java 方法 - 从Java表中获取数据 - insert_PHP 方法 - 将数据插入PHP表中 - select_PHP 方法 - 从PHP表中获取数据 - paint.py - 通过matplotlib进行画图 - index.py - 数据爬取 - Change_UA 方法 - 切换UA - get_proxy 方法 - 获取代理 - random_proxy 方法 - 随机切换代理 - get_price 方法 - 爬取智联招聘,获取工资信息 - insert 方法 - 数据存储,存入数据库中 # 爬取GitHub的Python相关项目并下载 - get.py - 爬取GitHub的Python项目 - download 方法 - 从数据库中获取GitHub下载链接,并下载后存放在本地