From c228c9b8ff316ad1faca7c756c29a2e1075f4bae Mon Sep 17 00:00:00 2001 From: funnym0nk3y Date: Fri, 21 Jan 2022 15:25:47 +0100 Subject: [PATCH 1/2] Updated .gitignore to exclude .vscode --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index eb5a316..8a86906 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ target +.vscode/ \ No newline at end of file From 596c7dd3552ec847cae69a70959a297d654a1e60 Mon Sep 17 00:00:00 2001 From: funnym0nk3y Date: Wed, 31 Aug 2022 01:01:47 +0200 Subject: [PATCH 2/2] Fixed video regex --- 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 4c03b7c..e21ea85 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.*&cmd=asyncGetTableGUI&cmdMode=asynch").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()); const NO_ENTRIES: &str = "Keine Einträge";