From 6249e6027666ff58f5a9d0a48ef0e73b90d21f66 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 1 Dec 2020 19:41:16 +0100 Subject: [PATCH] Added support for video conferences --- src/twomartens/allrisscraper/internal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/twomartens/allrisscraper/internal.py b/src/twomartens/allrisscraper/internal.py index f9b0fc7..1a7a46a 100644 --- a/src/twomartens/allrisscraper/internal.py +++ b/src/twomartens/allrisscraper/internal.py @@ -171,7 +171,11 @@ def get_abbreviated_committee_name(name: str, district: str) -> str: start_youth_help_committee = "Sitzung des Jugendhilfeausschusses" start_other_committee = "Sitzung des" end_other_committee = "ausschusses" + start_video_conf = "NICHTÖFFENTLICHE VIDEOKONFERENZ! " abbreviated_name = "" + + if name.startswith(start_video_conf): + name = name.removeprefix(start_video_conf) if name.startswith(start_plenary): abbreviated_name = "BV" elif name.startswith(start_committee):