Auto download files from thu-learn
Project description
thu-learn-downloader
Auto download files from thu-learn
Demo
See Screen Recording at demo.webm.
The resulting file structure looks like:
thu-learn
└── engineering-mechanics-for-civil-engineering
├── docs
│ ├── 作业与思考题
│ │ └── 第三周部分作业及思考题.pdf
│ ├── 电子教案
│ │ └── 第13讲-杆件拉伸和压缩.pdf
│ └── 课外阅读
│ └── 基于月面原位资源的月球基地建造技术.pdf
└── work
├── 期中考试
│ └── README.md
└── 第2周作业
├── attach-第2周作业.docx
├── comment-2020012872-李钦-6544.pdf
├── README.md
└── submit-第2周作业.pdf
Features
- 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
- 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.
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.1.tar.gz
(13.6 kB
view hashes)
Built Distribution
Close
Hashes for thu_learn_downloader-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef11cb228360210928dae7853b545fcf635dbff2473f5fe2b03cae204cff2868 |
|
MD5 | 4ca0a44d27b1e8d2696526d181e6ef2b |
|
BLAKE2b-256 | 040ef8a93bd31b2a00683f0a322829f2f8b6ae13d0e7a0f3bb02d74b16d1e90c |
Close
Hashes for thu_learn_downloader-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a49c20c316d9d3a7361f35d56cb4f6496e9304ab9b8ab069459c4f64716051e |
|
MD5 | 4d78aaa53406f98be251e4e452e6e779 |
|
BLAKE2b-256 | b1ecf1a87161cff72cc9c45637f8b49ae8a83ea1e8937fc1a325e05089b812ab |