{"id":13617494,"url":"https://github.com/liblaf/thu-learn-downloader","last_synced_at":"2025-07-12T04:34:32.136Z","repository":{"id":46242523,"uuid":"507823810","full_name":"liblaf/thu-learn-downloader","owner":"liblaf","description":"Download everything from Web Learning of Tsinghua University","archived":false,"fork":false,"pushed_at":"2025-07-03T05:00:08.000Z","size":2523,"stargazers_count":16,"open_issues_count":17,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-03T05:34:57.150Z","etag":null,"topics":["cli","downloader","tsinghua-university"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/thu-learn-downloader/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liblaf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-27T08:24:22.000Z","updated_at":"2025-07-03T04:58:02.000Z","dependencies_parsed_at":"2024-03-21T21:28:11.132Z","dependency_job_id":"cc9e44a3-259f-43f5-9ff2-517a5c09468e","html_url":"https://github.com/liblaf/thu-learn-downloader","commit_stats":{"total_commits":47,"total_committers":5,"mean_commits":9.4,"dds":"0.46808510638297873","last_synced_commit":"71ecc2a517ecf5b7af40ab108681f2ace8b7359e"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/liblaf/thu-learn-downloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liblaf%2Fthu-learn-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liblaf%2Fthu-learn-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liblaf%2Fthu-learn-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liblaf%2Fthu-learn-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liblaf","download_url":"https://codeload.github.com/liblaf/thu-learn-downloader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liblaf%2Fthu-learn-downloader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264939606,"owners_count":23686208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","downloader","tsinghua-university"],"created_at":"2024-08-01T20:01:42.644Z","updated_at":"2025-07-12T04:34:32.125Z","avatar_url":"https://github.com/liblaf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# THU Web Learning Downloader\n\n\u003e [!WARNING]\n\u003e username + password 登陆方式已失效, 致使本项目目前不可用 [#223](https://github.com/liblaf/thu-learn-downloader/issues/223). PR Welcome!\n\nDownload everything from Web Learning of Tsinghua University\n\n[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/liblaf/thu-learn-downloader/ci.yaml)](https://github.com/liblaf/thu-learn-downloader/actions/workflows/ci.yaml)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/thu-learn-downloader)](https://pypi.org/project/thu-learn-downloader/)\n[![PyPI - Version](https://img.shields.io/pypi/v/thu-learn-downloader)](https://pypi.org/project/thu-learn-downloader/)\n\n## Demo\n\n![Demo](https://github.com/liblaf/thu-learn-downloader/raw/assets/demo.png)\n\nThe resulting file structure looks like:\n\n```\nthu-learn\n└── Quantum Mechanics(1)\n   ├── docs\n   │  └── 电子教案\n   │     ├── 01-0量子力学介绍1.pdf\n   │     └── 04-0量子力学介绍2.pdf\n   └── work\n      └── 01-第一周作业\n         ├── attach-第一周作业.pdf\n         ├── submit-第一周作业.pdf\n         └── README.md\n```\n\n## Usage\n\n**Usage**:\n\n```console\n$ tld [OPTIONS]\n```\n\n**Options**:\n\n- `-u, --username TEXT`\n- `-p, --password TEXT`\n- `--prefix DIRECTORY`: [default: $HOME/thu-learn]\n- `-s, --semester TEXT`: [default: 2023-2024-1]\n- `-c, --course TEXT`\n- `--document / --no-document`: [default: document]\n- `--homework / --no-homework`: [default: homework]\n- `-j, --jobs INTEGER`: [default: 8]\n- `-l, --language [en|zh]`: [default: en]\n- `--log-level [NOTSET|DEBUG|INFO|WARNING|ERROR|CRITICAL]`: [env var: LOG_LEVEL; default: INFO]\n- `--help`: Show this message and exit.\n\n## Features\n\n- fast concurrent download\n- pretty TUI powered by [rich](https://github.com/Textualize/rich)\n- auto set `mtime` of downloaded files according to timestamp of remote file\n- auto skip download when local file is newer\n- dump homework details into `README.md` in each homework folder\n- pretty markdown files powered by [prettier](https://prettier.io) (require `prettier` installed)\n\n## Installation\n\n- download pre-built binary form [GitHub Releases](https://github.com/liblaf/thu-learn-downloader/releases)\n- `pip install thu-learn-downloader`\n- `pipx install thu-learn-downloader`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliblaf%2Fthu-learn-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliblaf%2Fthu-learn-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliblaf%2Fthu-learn-downloader/lists"}