From a4c518bf4c3b33957a9042648d09e9bf02a0d295 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Fri, 8 May 2020 22:17:58 +0200 Subject: [PATCH] Update date find regex --- PFERD/ilias/crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/ilias/crawler.py b/PFERD/ilias/crawler.py index 62623eb..6ed527c 100644 --- a/PFERD/ilias/crawler.py +++ b/PFERD/ilias/crawler.py @@ -135,7 +135,7 @@ class IliasCrawler: # out of it all_properties_text = properties_parent.getText().strip() modification_date_match = re.search( - r"(((\d+\. \w+ \d+)|(Gestern)|(Heute)), \d+:\d+)", + r"(((\d+\. \w+ \d+)|(Gestern|Yesterday)|(Heute|Today)|(Morgen|Tomorrow)), \d+:\d+)", all_properties_text ) if modification_date_match is None: