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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a027bcc65bbf7db507f5a8e3f414b713d52a1bce5e486174d7898dd38e9eb4 |
|
MD5 | 87938db398ab8130ab552e6a0d78722b |
|
BLAKE2b-256 | 74e8d999a9f727fbf484a0a9f6c9745eaca69855ae9d928f43e411e042e23aff |
Close
Hashes for thu_learn_downloader-0.1.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e1b5012ebf14b30081881616e931bd274a596b023728b66b0a0212c47c35ae |
|
MD5 | f7d4692560bfab4fb856936e0943b1a3 |
|
BLAKE2b-256 | 00def62bda0ed7673dd651d38704d0aa2cfc33d1820a7175edfad4db19963f23 |