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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fba16b60de26cc7e5a63c178ec53683ef27f977ef653aecda226ee6988c235cd |
|
MD5 | 18990d7785eee1c951b90fd3befebf50 |
|
BLAKE2b-256 | 9b466a692db187219c70d484389aed3f3b1c9c4005f966e51f88b3bb075adbd5 |
Close
Hashes for thu_learn_downloader-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87df743d5758c0836fbaa8c08f778e42e6c99cfeb8bc8a343b1fd88c6665ec1b |
|
MD5 | badc6f7c9a3cb44bfce57dea700ff6b6 |
|
BLAKE2b-256 | 9f97425d9f1633ac2d017e2b45498b2168157d31a7a17f4f0628939688082d05 |