From 1ab0a06b32940264f6fb6ea8014340b8e45409b0 Mon Sep 17 00:00:00 2001 From: funnym0nk3y <41870754+funnym0nk3y@users.noreply.github.com> Date: Mon, 15 Feb 2021 18:03:22 +0100 Subject: [PATCH 1/2] Updated to work again Don't know why it works --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fedd175..6dc0b99 100644 --- a/src/main.rs +++ b/src/main.rs @@ -270,7 +270,7 @@ fn process(ilias: Arc, mut path: PathBuf, obj: Object) -> impl Future Date: Fri, 21 Jan 2022 01:43:58 +0100 Subject: [PATCH 2/2] Fixed bug with video download Fixed #27 --- src/ilias/plugin_dispatch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ilias/plugin_dispatch.rs b/src/ilias/plugin_dispatch.rs index 23fc45e..4c03b7c 100644 --- a/src/ilias/plugin_dispatch.rs +++ b/src/ilias/plugin_dispatch.rs @@ -14,7 +14,7 @@ static LINKS: Lazy = Lazy::new(|| Selector::parse("a").unwrap()); static A_TARGET_BLANK: Lazy = Lazy::new(|| Selector::parse(r#"a[target="_blank"]"#).unwrap()); static VIDEO_ROWS: Lazy = Lazy::new(|| Selector::parse(".ilTableOuter > div > table > tbody > tr").unwrap()); static TABLE_CELLS: Lazy = Lazy::new(|| Selector::parse("td").unwrap()); -static LIST_URL: Lazy = Lazy::new(|| Regex::new("ilias\\.php\\?ref_id=\\d+&cmdClass=xocteventgui&cmdNode=.{8}q&baseClass=ilObjPluginDispatchGUI&lang=.{2}&limit=20&cmd=asyncGetTableGUI&cmdMode=asynch").unwrap()); +static LIST_URL: Lazy = Lazy::new(|| Regex::new("ilias\\.php\\?ref_id=\\d+&cmdClass=xocteventgui&cmdNode=.{8}q&baseClass=ilObjPluginDispatchGUI.*&cmd=asyncGetTableGUI&cmdMode=asynch").unwrap()); const NO_ENTRIES: &str = "Keine Einträge";