mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Updated to work again
Don't know why it works
This commit is contained in:
parent
f43b1031c8
commit
1ab0a06b32
@ -270,7 +270,7 @@ fn process(ilias: Arc<ILIAS>, mut path: PathBuf, obj: Object) -> impl Future<Out
|
|||||||
create_dir(&path).await?;
|
create_dir(&path).await?;
|
||||||
let full_url = {
|
let full_url = {
|
||||||
// first find the link to full video list
|
// first find the link to full video list
|
||||||
let list_url = format!("{}ilias.php?ref_id={}&cmdClass=xocteventgui&cmdNode=n8:n0:14q&baseClass=ilObjPluginDispatchGUI&lang=de&limit=20&cmd=asyncGetTableGUI&cmdMode=asynch", ILIAS_URL, url.ref_id);
|
let list_url = format!("{}ilias.php?ref_id={}&cmdClass=xocteventgui&cmdNode=nc:n4:14u&baseClass=ilObjPluginDispatchGUI&lang=de&limit=20&cmd=asyncGetTableGUI&cmdMode=asynch", ILIAS_URL, url.ref_id);
|
||||||
log!(1, "Loading {}", list_url);
|
log!(1, "Loading {}", list_url);
|
||||||
let data = ilias.download(&list_url).await?;
|
let data = ilias.download(&list_url).await?;
|
||||||
let html = data.text().await?;
|
let html = data.text().await?;
|
||||||
|
Loading…
Reference in New Issue
Block a user