oxygen-TW / ilmsdump-CSMU-version

Dump CSMU iLMS data before it is shut down. http://lms.csmu.edu.tw/

Home Page:https://ilmsdump.afq984.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NTHU iLMS backup tool

Test Lint codecov

Online demo of open courses

Installation

Requirements: Python 3.8 or later

python -m pip install -U https://github.com/afq984/ilmsdump/archive/main.zip

The same command can be used to update to the latest version.

You may want to specify --user, or install in a virtual environment.

Usage Examples

登入

ilmsdump --login

重新登入:

ilmsdump --logout --login

匯出課程

使用網址中的 Course ID 匯出 0001 以及 10910CS542200:

ilmsdump 74 46274

匯出所有修過的課:

ilmsdump enrolled

匯出所有修過的課,略過部份課程、教材:

ilmsdump enrolled --ignore=Course-34674 --ignore=Material-773177

繼續執行中斷的下載:

ilmsdump --resume=path/to/resume-file.pickle

只列出課程不下載

ilmsdump --dry enrolled

查看使用說明

ilmsdump --help

查看匯出的課程

使用 ilmsfreeze 開啟下載的資料夾

Or

ilmsserve

預設網址為 http://localhost:8080 ,可用 --port 來改

Or

podman run --rm --mount type=bind,source=$PWD/ilmsdump.out,target=/data,ro=true -p 8080:8080 ghcr.io/afq984/ilmsserve:main

Features & Status

✔️ supported; 🚧 work in progress; ❓ maybe; ❌ lack of interest or too complicated

  • 登入 ✔️
    • PHPSESSID ✔️
    • 帳號密碼 ✔️
  • 課程說明 ✔️
  • 課程活動(公告) ✔️
    • 公告 ✔️
      • 附件 ✔️
    • 活動 ❌
  • 上課教材 ✔️
    • 附件 ✔️
    • Evercam/Powercam 影片 ✔️
    • 討論 ❌
  • 討論區 ✔️
    • 附件 ✔️
  • 作業 ✔️
    • 作業資訊 ✔️
      • 附件 ✔️
    • 已繳交作業 ✔️
      • 附件 ✔️
      • 評分 ✔️
      • 評語 ✔️
      • 分組作業 ✔️
      • 討論 ❌
  • 問卷 ❌
  • 線上測驗 ❌
  • 出缺勤(統計) ❌
  • 成績計算 ✔️
  • 小組專區 ✔️
    • 討論 ❌

See Also

自iLMS備份課程檔案-浮水印.pdf backup

Development

Install in editable mode for easy modification & testing:

(venv) pip install -e .[dev]

nox is used to drive the tests.

Testing

python -m pytest tests
# or
nox -s test

Linting

nox -s lint

Format Code

nox -s format

Report Issues

https://github.com/afq984/ilmsdump/issues

About

Dump CSMU iLMS data before it is shut down. http://lms.csmu.edu.tw/

https://ilmsdump.afq984.org

License:MIT License


Languages

Language:Python 94.1%Language:Jinja 5.1%Language:Dockerfile 0.4%Language:Batchfile 0.4%