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.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

cm_http_api-0.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cm-http-api-0.1.0.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.10.16-arch1-1

File hashes

Hashes for cm-http-api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad73493c50fd3be34e6e35489f89cd1ca3cfa68412aa43ceed43cdeb081d3ee5
MD5 f5908ceaee51e221df2abf83135c2634
BLAKE2b-256 77671699fbd2a61960f34c9006eb8d88af805d668a127df070a019e8aea5c573

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cm_http_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.16-arch1-1

File hashes

Hashes for cm_http_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ff1414840838ca009b3b21b944deca0978ef275694e95bb72e1b5d52c315cf5
MD5 eaa97af77da7a9b5a3aba15992be0686
BLAKE2b-256 529f8759fbce1d9a96ff640d555bc96461aa840f6a71f15db56cd35800e3a7db

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