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
Download pre-built binary from releases or install from PyPI by executing pip install thu-learn-downloader
.
- Prepare a
config.yaml
like config.yaml. - Run
thu-learn-downloader password="***"
and wait for the sync to finish.
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.7.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for thu_learn_downloader-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e461928ca4a7cced551f92bf24d523fcb5bc7de2778215134cf6d5aeeebbbbfe |
|
MD5 | 03edf4d548dfad84ac36ba01f3ed9ae3 |
|
BLAKE2b-256 | d2591b139841c03b114e14114926e513d0d6e37149ea293ad1f7a1952f7d8eba |
Close
Hashes for thu_learn_downloader-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1bcf3002b5b99fb095d51ba11b13c36da5b054e8d4f4d54e3274a6e0a1d6913 |
|
MD5 | 0e12ec7f7c37b9282fcb25bc3fef047f |
|
BLAKE2b-256 | 9c2a8b240f3d4a44ba9e4aadd4d48de3ed2dcd3ed8de981f405adc6fb1058294 |