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
Usage
Usage:
$ tld [OPTIONS]
Options:
-u, --username TEXT
: [default: liqin20]-p, --password TEXT
: [required]-s, --semester TEXT
: [default: 2022-2023-2]-c, --course TEXT
--prefix PATH
: [default: /home/liblaf/Desktop/thu-learn]-s, --size-limit INTEGER
: [default: 9223372036854775807]--help
: Show this message and exit.
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)
Installation
- download pre-built binary form GitHub Releases
pip install thu-learn-downloader
pipx install thu-learn-downloader
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
Built Distribution
Close
Hashes for thu_learn_downloader-0.1.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4631306ed8d20c5ea695d7fba383e15470f105ff7a44c043b7e852c7685bbf7a |
|
MD5 | cf39a38ed693c2c3061ab751603f6c63 |
|
BLAKE2b-256 | a2545e57405abf00c6040f484c9bf0e875f2034220b5a1da58a343e1524db9c9 |
Close
Hashes for thu_learn_downloader-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1451757e57815656874cd1028ab0b9a5e9471afe75f43b6a6f5db4f1c7e97581 |
|
MD5 | a2e31d286bdd62583d61194bdee175dc |
|
BLAKE2b-256 | 7fb9887ab6f6e0aa1bff8787074353b591c39ed3323835d361a3a828a2cf51a4 |