Download everything from Web Learning of Tsinghua University
Project description
THU Web Learning 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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17fd40bf44e1b83ef4776e9a7a43b265c51b0d49741134f083484549e2de76b1 |
|
MD5 | edfdcc3b55507aa80682bb2b560967d1 |
|
BLAKE2b-256 | 0ff1a6374062a3e1c3ac325a95fea10cef0a6c72357201aa99ba7d0c85f68b02 |
Close
Hashes for thu_learn_downloader-0.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a71515f412b98049ad477edcb713c03548269e5c75027e426103ff8a0d330bd |
|
MD5 | dd6215c2372d751cf976a59e5c485b63 |
|
BLAKE2b-256 | 3f071dcfda2c55bc08c9cb4ae460b844009c4b4cacb9b82b343a68399f78ed41 |