Giter VIP home page Giter VIP logo

xidian-scripts's Introduction

xidian-scripts

这是什么?

只是一些实用的小脚本

* get_xidian_news: 获得近期校内的新闻

* get_pay_info: 获得自己校园网流量使用情况

Setup

我在Mac Os X上使用Python 2.7.2, Linux应该也没问题:)

我假定你已经安装好了python和pip

  1. 安装依赖:

    pip install requests, lxml

  2. 如果要使用get_pay_info, 请安装 tesseract

  3. 在get_pay_info.py中的USERNAME和PASSWORD中设置自己的学号和密码

  4. 在get_xidian_news.py中的DAY输入你想获得最近几天的消息

  5. 没有第5步

Usage

完全由你决定如何使用:)

  1. 手动执行
  2. 加到shell启动脚本中
  3. 写个cron job自己定制

最后

欢迎pull requests;)

xidian-scripts's People

Contributors

lisongx avatar

Stargazers

justzx avatar lvzongting avatar

Watchers

James Cloos avatar lvzongting 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.