Download everything from Web Learning of Tsinghua University
Project description
thu-learn-downloader
Download everything from Web Learning of Tsinghua University
Demo
The resulting file structure looks like:
thu-learn
└── Quantum Mechanics(1)
├── docs
│ └── 电子教案
│ ├── 01-0量子力学介绍1.pdf
│ └── 04-0量子力学介绍2.pdf
└── work
└── 01-第一周作业
├── attach-第一周作业.pdf
├── submit-第一周作业.pdf
└── README.md
Features
- fast concurrent download
- pretty TUI powered by rich
- auto set
mtime
of downloaded files according to timestamp of remote file - auto skip download when local file is newer
- dump homework details into
README.md
in each homework folder - pretty markdown files powered by prettier (require
prettier
installed)
Usage
Pre-built Binary
- Download pre-built binary from releases.
- Prepare a
config.yaml
like config.yaml. - Run
thu-learn-downloader password="***"
and wait for the sync to finish.
pip
pip install thu-learn-downloader
python -m thu_learn_downloader username="***" password="***"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thu_learn_downloader-0.1.5.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for thu_learn_downloader-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d017d9d67d9f77c50572a481e856c9ff55e339951ab2202c7b51ade2dbb9a3b |
|
MD5 | f929a57672adfc85b77c83f525761225 |
|
BLAKE2b-256 | 8821a92690191345b8b71e1fbec484dbe6abd492c7d8fa769834e2db2e497040 |
Close
Hashes for thu_learn_downloader-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76d86015ea4fe99a6f7f428d042eabef0433cfe35833d3fad42e075a6a0d7a6 |
|
MD5 | b75a2f13538f25d4eb0c563e6626b978 |
|
BLAKE2b-256 | 042af9c0e51b2e3cfdcf76b790e40d4ebc0cbfe47183f4d8f1d6a62f3ef41a31 |