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
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)
Usage
Pre-built Binary
- Download pre-built binary from releases.
- Prepare a
config.yaml
like config.yaml. - Run
thu-learn-downloader password="***"
and wait for the sync to finish.
pip
pip install thu-learn-downloader
python -m thu_learn_downloader username="***" password="***"
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.6.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for thu_learn_downloader-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ecac7cd85138e03b25b5ed2dde38c2b5261e8c38dab6d22a479bd663a184411 |
|
MD5 | 9c29de618905abb52cde4793e3b03311 |
|
BLAKE2b-256 | 2bb2d632753457311379e91f5bc8f3bfa20cae844658610af53ae7eb9b66ba63 |
Close
Hashes for thu_learn_downloader-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6536ba773993bbb4564f6d141661a948ee90e1e3e877fda7a623b5af95d874c |
|
MD5 | 0461017e4841476cbae8231e16a76085 |
|
BLAKE2b-256 | f57f0a1d67d38b73760ffcd68d9e0bd21765ba34fa2d9d28c990863ed9d027ac |