Skip to main content

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

  1. Download pre-built binary from releases.
  2. Prepare a config.yaml like config.yaml.
  3. Run thu-learn-downloader password="***" and wait for the sync to finish.

Project details


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.0.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

thu_learn_downloader-0.1.0-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page