FliegendeWurst / KIT-ILIAS-downloader

Downloader for https://ilias.studium.kit.edu/
GNU General Public License v3.0
42 stars 9 forks source link

Issue with video list link (cmdNode changed) #7

Closed funnym0nk3y closed 3 years ago

funnym0nk3y commented 3 years ago

I get the error that there is a failure in the download of the videos.

Loading https://ilias.studium.kit.edu/ilias.php?ref_id=1339852&cmdClass=xocteventgui&cmdNode=n8:n0:14q&baseClass=ilObjPluginDispatchGUI&lang=de&limit=20&cmd=asyncGetTableGUI&cmdMode=asynch
Syncing \\?\path-to-folder\ILIAS_downloader_ingestion\course: failed to process URL

Caused by:
    video list link not found
funnym0nk3y commented 3 years ago

On the ILIAS Forum they suggested to use a goto-link. Don't know how this integrates though...

FliegendeWurst commented 3 years ago

The link to the lectures redirects to the correct page. That would automatically work with future updates too.

funnym0nk3y commented 3 years ago

What is the cmdNode parameter even?

FliegendeWurst commented 3 years ago

It's mentioned in their security documentation:

Passing routing information to find out which GUI-classes should be executed to build a view or perform some action via $_GET["baseClass"], $_GET["cmdClass"] and $_GET["cmdNode"].

That means the parameter value may change when the system is updated. We shouldn't hardcode these values.

funnym0nk3y commented 3 years ago

ILIAS has a SOAP interface, maybe that is usable instead of webcrawling (that's what is used, right?).

There is also savon for code generation from WSDL.

FliegendeWurst commented 3 years ago

I tried savon, but it didn't really work on the WSDL.

funnym0nk3y commented 3 years ago

What about gSOAP with a C FFI?