Skip to main content

get necessary information for Unified certification of educational administration system

Project description

A Solution to get timetable automatically

This is designed at first to get excel timetable from http://my.cqu.edu.cn/enroll/ but failed at last because of js Ajax loading of specific page. I tried every method I can but gave up at last.
So this solution maybe design for getting token for logging in process as we have known that all requests need this token.

Usage

Refer to main function of main.py as a demo, and docstring of cm_http class.

To List

  • get token
  • get json format timetable
  • parsing timetable.json translate it to xlsx format for example
  • using in cqu_timetable_new

Although I'd like to use these scripts on desktop, more people seem to get an automatically one.
Another reason why I have to build this is that I hate the new wecqu under the Student Union of CQU. I'd like to use AGPL to force them ether opensource of their code or make another one without my function.

License

AGPL 3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cm-http-api-0.1.1.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

cm_http_api-0.1.1-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page