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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 477818999dc06624ae8c2195c29cb89e36cbf2ca941e7af6ad9dbcab6265618e |
|
MD5 | 179761c9807bde47c3415c38615c2876 |
|
BLAKE2b-256 | 68603568b7f2abe60aaffca1d5ae48d7b7114435452c76b56c4e1c40f245d410 |
Close
Hashes for thu_learn_downloader-0.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b4320b048f08ccccfba6b73df26b805ec20e6e4d89e3a0e075e1495fe55ff21 |
|
MD5 | ef6beb6331391481d8b2e0d84e08c207 |
|
BLAKE2b-256 | e9d20dfce483317e9536dbd246e3f38817d468b3c70541c4328b1bac99624dc6 |