Download everything from Web Learning of Tsinghua University
Project description
THU Web Learning Downloader
[!WARNING] username + password 登陆方式已失效, 致使本项目目前不可用 #223. PR Welcome!
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-p, --password TEXT--prefix DIRECTORY: [default: $HOME/thu-learn]-s, --semester TEXT: [default: 2023-2024-1]-c, --course TEXT--document / --no-document: [default: document]--homework / --no-homework: [default: homework]-j, --jobs INTEGER: [default: 8]-l, --language [en|zh]: [default: en]--log-level [NOTSET|DEBUG|INFO|WARNING|ERROR|CRITICAL]: [env var: LOG_LEVEL; default: INFO]--help: Show this message and exit.
Features
- fast concurrent download
- pretty TUI powered by rich
- auto set
mtimeof downloaded files according to timestamp of remote file - auto skip download when local file is newer
- dump homework details into
README.mdin each homework folder - pretty markdown files powered by prettier (require
prettierinstalled)
Installation
- download pre-built binary form GitHub Releases
pip install thu-learn-downloaderpipx 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thu_learn_downloader-0.4.1.tar.gz.
File metadata
- Download URL: thu_learn_downloader-0.4.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e06009dc3e473fae0b702dcc4d3a3bd560af27e7933789c9b83a0b68823f724
|
|
| MD5 |
0ec0ff4b523796b57b36c264829655ee
|
|
| BLAKE2b-256 |
86186a7f176078cd80899f7959875abcc409623eb511364da5b02b46b066cc00
|
Provenance
The following attestation bundles were made for thu_learn_downloader-0.4.1.tar.gz:
Publisher:
release.yaml on liblaf/thu-learn-downloader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
thu_learn_downloader-0.4.1.tar.gz -
Subject digest:
6e06009dc3e473fae0b702dcc4d3a3bd560af27e7933789c9b83a0b68823f724 - Sigstore transparency entry: 361414082
- Sigstore integration time:
-
Permalink:
liblaf/thu-learn-downloader@6df11fbab7235a3b2069d722cffd3896803a2ea6 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/liblaf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@6df11fbab7235a3b2069d722cffd3896803a2ea6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file thu_learn_downloader-0.4.1-py3-none-any.whl.
File metadata
- Download URL: thu_learn_downloader-0.4.1-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f91d0d63fa1df054c27bd797f21475bf8d8f5d3b974b7ba2f9d214fd9e131f6a
|
|
| MD5 |
a51b5def99d96a1ee0b8ed6bddb13e1b
|
|
| BLAKE2b-256 |
a4777dce323f496988d9a516812a07780567c47bdc0503b1aaf4132a01a5bb49
|
Provenance
The following attestation bundles were made for thu_learn_downloader-0.4.1-py3-none-any.whl:
Publisher:
release.yaml on liblaf/thu-learn-downloader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
thu_learn_downloader-0.4.1-py3-none-any.whl -
Subject digest:
f91d0d63fa1df054c27bd797f21475bf8d8f5d3b974b7ba2f9d214fd9e131f6a - Sigstore transparency entry: 361414104
- Sigstore integration time:
-
Permalink:
liblaf/thu-learn-downloader@6df11fbab7235a3b2069d722cffd3896803a2ea6 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/liblaf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@6df11fbab7235a3b2069d722cffd3896803a2ea6 -
Trigger Event:
release
-
Statement type: