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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21007a920d2cf09e2d5ea05cd0092d9c044bdf36988169761399a7e470b534f1 |
|
MD5 | 30d26d7bf526c24fa66151b5d58bce7d |
|
BLAKE2b-256 | e9ec376976c7476b84ef0a3077039b4504ebf3ecc977b0d78ada040f16b96d52 |
Close
Hashes for thu_learn_downloader-0.1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5418a119737c4f7e8c4f85d6a6dbd401b6a509d5d4f050ba017524f05853597 |
|
MD5 | d0a32b88795dc9b51632ddc482c8f160 |
|
BLAKE2b-256 | 9380f3acda3be8f712e9c7e0bfc8ff136ad40fca3a1f42e9fab9a98af143077e |