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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cm-http-api-0.1.1.tar.gz.

File metadata

  • Download URL: cm-http-api-0.1.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1039-azure

File hashes

Hashes for cm-http-api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 df472a3832c2cb25ff80d8c4ee33ada1ff530ead5a00aa5b6dd8a409bed9a740
MD5 197f453c1829586c6e28daf2ce29c0c5
BLAKE2b-256 558d541f7d5d4571749f4702acab5efa73581efc721096ec63329ae4f0ace649

See more details on using hashes here.

File details

Details for the file cm_http_api-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cm_http_api-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1039-azure

File hashes

Hashes for cm_http_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9efe3f88eedff936db7687fe55b14d9dcedbebcbbce77f2959efec1e03f28aee
MD5 9df229f9b8e7066fb6dedfc0f61865c1
BLAKE2b-256 9687d0b97c3959d6d4997dd9eb91515ea66d029f2a36c46c1ddd9104583b8662

See more details on using hashes here.

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