feat: unify course scanning and add manifest-based public library

This commit is contained in:
Meghdad committed 2026-08-04 21:55:15 +03:30
1 parent 2580d86984
commit 114b472643
20 files changed
+809 -796

No files matched your search

+1 -3
View File
@@ -5,7 +5,7 @@ from pathlib import Path
DEFAULT_SITE = "https://training.ravinacademy.com"
DEFAULT_RAVIN_LOGIN_URL = "https://lms.ravinacademy.com/"
__version__ = "0.5.0"
__version__ = "0.6.0"
USER_AGENT = f"RavinMoodleDownloader/{__version__} (+personal Moodle client)"
DOWNLOADABLE_MODULES = {"resource", "folder", "page", "book"}
DEFAULT_ENV_FILE = Path.cwd() / ".env"
@@ -16,5 +16,3 @@ ENV_KEYS = {
"user_agent": "RAVIN_USER_AGENT",
"cookie": "RAVIN_COOKIE",
}
LIBRARY_ASSETS = ("index.html", "course.html", "styles.css", "app.js")
CONTENT_SCHEMA_VERSION = 1