From 0357b0d24a63f95856c7aad172a0f3b41d138bcc Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Sat, 9 Nov 2024 11:28:58 +0100 Subject: [PATCH] Fix video downloading Fixes #54 --- 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 8e6ce5a..080841b 100644 --- a/src/ilias/plugin_dispatch.rs +++ b/src/ilias/plugin_dispatch.rs @@ -15,7 +15,7 @@ static A_TARGET_BLANK: Lazy = Lazy::new(|| Selector::parse(r#"a[target 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=.{9}&baseClass=ilObjPluginDispatchGUI.*&cmd=asyncGetTableGUI&cmdMode=asynch").unwrap() + Regex::new("ilias\\.php\\?baseClass=ilobjplugindispatchgui&cmdNode=.{9}&cmdClass=xoctEventGUI&ref_id=\\d+&async=true").unwrap() }); const NO_ENTRIES: &str = "Keine Einträge";