Code Monkey home page Code Monkey logo

szu_board's Introduction

学校公文通抓取脚本

深大官微开发了一个公文掌上通,只可惜需要通过统一认证。
为了解决这个问题,先写个脚本把每天的公文信息抓下来,加上前端页面。

Python依赖环境

  1. pyquery HTML parser工具
  2. MySQLdb python 工具包

全局变量

mysql 设置

  • MYSQL_HOST MYSQL数据库主机名
  • MYSQL_USER MYSQL用户
  • MYSQL_PASS MYSQL密码
  • MYSQL_PORT MYSQL密码
  • MYSQL_DB MYSQL数据库
  • MYSQL_CHAR MYSQL数据库字符集

项目雪崩,pyquery的采集会丢失标签

szu_board's People

Contributors

nanguangchou avatar

Watchers

 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.