Giter VIP home page Giter VIP logo

mini_program_tender_backend's Introduction

mini_program_tender_backend

小程序后端程序,使用爬虫抓取"国家电网"服务器更新数据,存储在MariaDB;

解压rar

因为招标网站的公告基本在win平台编写,存在转码问题,因此需要安装依赖 unar 该工具会自行转码

sudo apt-get install unar

##处理doc 文档 Python3 第三方库对doc文件支持不佳,故需要先转换成docx 安装依赖包 unoconv

sudo apt-get install unoconv

全文搜索引擎及中文拆词

whoosh + jieba 之前有使用过数据库全文索引,但每次查询都建立链接,系统开销比较,而且对查询速度也有影响; 使用全文搜索引擎想到于对数据库的数据做了一次独立索引,而且是相对独立的,索引之后不用二次调用数据库;

后续值得改进的地方

  • 使用jieba 定制一些专有名词,以增加命中率;
  • 进一步编写爬虫, 抓取"非招标信息"以及"南方电网信息"

遗留问题

一些docx文件中的表格数据, 由于表格未对其导致Python无法找到准确的位移量,以至报异常,现在位置没有找到比较好的办法。

mini_program_tender_backend's People

Contributors

hlstack avatar

Watchers

 avatar  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.