GithubHelp home page GithubHelp logo

nnu-spider's Introduction

nnu-spider

针对南宁学院课表的爬虫,它可以自动登录教务系统,获取指定学期,周的课表。

想要运行这个项目你需要填入一些自己的参数。

user_name = '你的学号'
password = '你的教务系统登录密码'
SecretKey = '百度AI平台SecretKey'
ApiKey = '百度AI平台ApiKey'

要使用百度的 API 是因为登录时的验证码需要图文识别。

存储的形式是以 JSON 形式存储到 MongoDB 上。

2023-1-6 更新

发现了学院有对外接口: https://vpn.nnxy.cn/http/77726476706e69737468656265737421fae00f922928711e7d06/jsxsd/ 可以通过这个接口获取课表,要通过钉钉的认证。但是钉钉的认证完成之后只需要保活钉钉的token就好。

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.