Git Product home page Git Product logo

ir-iesystem's Introduction

IR-IESystem

Information Retrieval & Information Extraction System

程序结构

  • conf 存放数据库和爬虫的相关配置文件
  • Crawler--spider.py 爬虫程序
  • db--DBHelper.py 操作数据库 --jobs.sql 包含数据库结构和数据的SQL脚本
  • mysite web程序,提供浏览器访问页面
  • screenshot 存放中间结果截图,项目运行截图
  • utils 工具函数库
  • word_cut 分词与统计相关程序

相关依赖库

安装命令 pip3 install 依赖库名称
- pymysql
- requests
- BeautifulSoup
- django


如何运行

  1. 首先在本地配置好python3.6环境,安装相关依赖库。
  2. 接着需要在mysql数据库上运行jobs.sql脚本。
  3. (选做)在确保网络平稳的状态下,运行Clawler--spider.py文件对51job网站上的招聘信息进行爬取并存储到mysql数据库中,因为在jobs.sql中已经将数据的插入命令写好,所以这一步选做(注意:因为爬虫程序爬取过程较慢,如果只是想看项目的演示过程,则可跳过这一步)。
  4. 进入mysite目录下,运行python manage.py runserver 8080命令,服务器将自行启动。
  5. 打开浏览器(建议使用Chrome),在地址栏输入127.0.0.1:8080,回车即可访问项目首页。

ir-iesystem's People

Contributors

cuiqingyao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.