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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52e3e760d8d89ba33ca87e1d772735381df4f5ba050267c19df67fe1c4fd71fa |
|
MD5 | f2d899caacfbb2baab9215d5ae287af8 |
|
BLAKE2b-256 | e682a8ccdf01d39cdd39483377bbf67487816c3ddf18c2e8826f418962a88b7c |
Close
Hashes for thu_learn_downloader-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55f8c7b3d00de49f086c0c28564abc4262e79ea75800992eacf5233401365b5 |
|
MD5 | a2d3242619939f6b4c914bb0e2e6f392 |
|
BLAKE2b-256 | 6c741ca4206ce50c85f5b96ce0f612d0950701839d30504970a2bffc5a90e47b |