Giter Club home page Giter Club logo

ilmsdump's Introduction

NTHU iLMS backup tool

Test Lint codecov

Online demo

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

查看匯出的課程

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

ilmsdump's People

Contributors

afq984 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.