Emily3403 / isisdl

A downloader for ISIS of TU-Berlin
GNU General Public License v3.0
33 stars 4 forks source link

Downloading files linked on course-page does not work #25

Open Akira25 opened 5 days ago

Akira25 commented 5 days ago

In some ISIS-Courses, the mentors tend to use a custom table layout with the material being html-links in that table. This is escpecially used in the courses of Dr. Nestmann, as far as I can tell.

It would be desirable, if isisdl could download these ressources too.

The course where I first find that: https://isis.tu-berlin.de/course/view.php?id=40855

Part of the output provided by isisdl. It looks like isisdl can find those files, but does not download them because of a wrong file size.

Name: 'ReSyst.2425-Woche03-Hausaufgabe-Tut.pdf'
Course: [WiSe 202425] Reaktive Systeme
Size: -1.00   B
Time: 2024-11-05 18:08:00
Is downloaded: False
Path: /home/t/isisdl/[WiSe 202425] ReSyst/ReSyst.2425-Woche03-Hausaufgabe-Tut.pdf

Name: 'ReSyst-VL04.pdf'
Course: [WiSe 202425] Reaktive Systeme
Size: -1.00   B
Time: 2024-09-27 10:27:29
Is downloaded: False
Path: /home/t/isisdl/[WiSe 202425] ReSyst/ReSyst-VL04.pdf

Name: 'ReSyst-VL05.pdf'
Course: [WiSe 202425] Reaktive Systeme
Size: -1.00   B
Time: 2024-09-27 10:27:28
Is downloaded: False
Path: /home/t/isisdl/[WiSe 202425] ReSyst/ReSyst-VL05.pdf

Name: 'ReSyst-VL06.pdf'
Course: [WiSe 202425] Reaktive Systeme
Size: -1.00   B
Time: 2024-09-27 10:27:27
Is downloaded: False
Path: /home/t/isisdl/[WiSe 202425] ReSyst/ReSyst-VL06.pdf

How this situation looks in the ISIS-course:

grafik

Emily3403 commented 4 days ago

Hi! You are indeed correct, it would seem that isisdl does not download these files. Why exactly I can't tell quite yet, however I can also confirm that with version 2.0, the files are simply downloaded without regard for the size.

So I'll simply go with the easy route and say: Fixed in 2.0™