1 Star 1 Fork 0

wHen13123 / when_code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

when_code

一、介绍

个人代码记录,目前该项目包含内容如下

  1. 实时爬取boss直聘指定页面的招聘数据,解析入库mysql。详情请查看crawler/README.md文件

二、软件架构

基于Python3.9开发,可在linux和windows上直接运行

三、安装教程

  1. 拉取master分支代码,到开发环境,执行pip install -r crawler/requirements.pip安装依赖
  2. 将crawler/docs/*.conf拷贝到supervisor的conf目录下执行supervisorctl update即可完成安装
  3. 使用supervisorctl status验证程序是否运行成功

四、主要目录结构

|-- when_code
    |-- components                              # **公共组件**
        |-- mysql_client                        # -- mysql连接器
        |-- proxy_utils                         # -- 代理相关
    |-- crawler                                 # **爬虫模块**
        |-- base_module                         # -- 爬虫基础能力
        |-- config                              # -- 配置文件
        |-- docs                                # -- 文档目录
            |-- sql                             # -- 数据库sql存档
        |-- orm_model                           # -- orm基类
        |-- website                             # -- 以实现爬取网站目录

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
MIT License Copyright (c) 2022 wHen13123 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

个人代码记录 展开 收起
Python 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/wangchenglogo/when_code.git
git@gitee.com:wangchenglogo/when_code.git
wangchenglogo
when_code
when_code
master

搜索帮助