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
-s, --semester TEXT
: [default: 2022-2023-2]-c, --course TEXT
--prefix PATH
: [default: /home/liblaf/Desktop/thu-learn]-s, --size-limit INTEGER
: [default: 9223372036854775807]--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--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
thu_learn_downloader-0.1.9.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for thu_learn_downloader-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6989e4f1721bdb2655255ae29f7274f2b9728bac6ce3543381d98338257f593 |
|
MD5 | bc4b338012aae3dc2090e6ec624b3871 |
|
BLAKE2b-256 | 9d74992144c7ba4621c5d50d6923a66b2b20c0ba03716cc497806e4c3791fa1a |
Close
Hashes for thu_learn_downloader-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c8ce3622aa4904a862492ab59af758bb6fc99d9920b508b3c02a5c9a7e4a84 |
|
MD5 | 606faadc096ca50f09869c690406871d |
|
BLAKE2b-256 | 4cc475733c674ae34a0c48b34556867d6f1c1f3df1633698e4148a344f690aa2 |