Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split/Merge Courses by ref_id #31

Open
amikabo opened this issue Apr 26, 2022 · 1 comment
Open

Split/Merge Courses by ref_id #31

amikabo opened this issue Apr 26, 2022 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@amikabo
Copy link

amikabo commented Apr 26, 2022

Some of the courses from different semesters (different ref_id) have same course name and mostly same structure.
After downloading they all merge in one folder and if files in courses have different names, the they can be split manually, but if names of the files are the same, every time it download from one courses and then replace from the last.

SS2021 > Algorithms 1 / Lectures / Lecture 1.pdf
SS2022 > Algorithms 1 / Lectures / Lecture 1.pdf

  1. Is it possible to download course by it ref_id manually?
  2. By creating a folder add in the beginning of course name add year from the date of creation?
@FliegendeWurst
Copy link
Owner

You have three options:

  • rename the old 'Algorithms 1' folder to 'SS 2021 - Algorithms' (or any other name), this way the new course does not interfere with the old one
  • rename the course using the course_names.toml file (see readme)
  • download the course separately: KIT-ILIAS-downloader --output "./Algorithms 1 SS 2022" --sync-url 'https://ilias.studium.kit.edu/ilias.php?ref_id=XXXXXXX&...

The first two solutions require that you remove the old course from your favorites / dashboard.

I could also create a config option to rename courses based on their ref_id. That way we could also (finally) get a consistent naming scheme..

@FliegendeWurst FliegendeWurst added enhancement New feature or request question Further information is requested labels Apr 26, 2022
FliegendeWurst added a commit that referenced this issue Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants