Giter Site home page Giter Site logo

nsysuselcrs's Introduction

專案名稱

中山大學網路選課系統

新功能

Keras 神經網絡,辨識學校的 4 碼登入驗證碼,加速登入。

目的

取代原本學校極為老舊的選課系統,利用爬蟲的方式,重建一個較接近現代的網頁,並增加便利的功能優化與加速選課流程。

開始

  1. 自備一個伺服器環境,內含 Python 3.6、MySQL 資料庫,以下以 Ubuntu、MySQL 為例。

  2. 在您的資料庫中,建立一個新的資料庫。

  3. 將專案中的 tables.sql 放入新建立的資料庫中執行。

  4. 修改 ClassesDB.py 中,連接資料庫的名字帳號與密碼。

  5. 安裝此專案所需的 Python 套件。

    keras
    opencc-python-reimplemented
    PyMySQL
    BeautifulSoup4
    flask
    
  6. 執行以下去學校網站抓去所有課程,需要花費數十分鐘。

    clear && python crawl.py
    

    執行中必須確保資料庫能連線,才能將抓取的課程直接塞入資料庫。

  7. 執行以下開啟整體的爬蟲伺服器,開始遠離破舊的中山大學網路選課系統。

    clear && python Web.py
    

範例

http://selcrs.ga

版本

Version 2.0

作者

Hua777

License

MIT

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.