V3lop5 / ilias-downloader

Download files from your ilias courses and keeps your local copy up to date.
GNU General Public License v3.0
8 stars 4 forks source link

Download of new file version might fail #1

Closed V3lop5 closed 3 years ago

V3lop5 commented 3 years ago

Sometimes the download of the new file version might fail because it is using the geändert tag right below file name.

FH Aachen ilias somehow does not show this tag with high reliability.

The Task: Save downloaded version tag in .il-history and check if current version tag is the same as in that file.

Ilias course might look like this image As you see the version number is only specified if there are multiple versions of the file. (And other ilias system print geändert right behind the Version tag if you never downloaded the file before.)

The .il-history file should be something like this

goto_elearning_file_733203_download.html
goto_elearning_file_730907_download.html 2
goto_elearning_file_730908_download.html