From cc379172675c7f670ec606217c7c732b33975df2 Mon Sep 17 00:00:00 2001
From: dnns01 <github@dnns01.de>
Date: Thu, 17 Mar 2022 22:38:11 +0100
Subject: [PATCH] Release module fixes (#161)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* Changes to scraper.py (#158)

Matching string now reflects changes on the website.

* Es ist ein Leerzeichen in der Modul-Fehlermeldung 😱

Co-authored-by: Lou-M <73669620+Lou-M@users.noreply.github.com>
---
 cogs/components/module_information/scraper.py | 2 +-
 cogs/module_information.py                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cogs/components/module_information/scraper.py b/cogs/components/module_information/scraper.py
index 3566a1f..2a795a2 100644
--- a/cogs/components/module_information/scraper.py
+++ b/cogs/components/module_information/scraper.py
@@ -124,7 +124,7 @@ class Scraper:
     def parse_support(self, soup):
         try:
             support_source = soup.find('h2', text=re.compile(
-                r'Mentorielle Betreuung in Regionalzentren')).findNext('div').findAll('li')
+                r'Mentorielle Betreuung an den Campusstandorten')).findNext('div').findAll('li')
         except:
             return None
 
diff --git a/cogs/module_information.py b/cogs/module_information.py
index cb6572e..0b982c4 100644
--- a/cogs/module_information.py
+++ b/cogs/module_information.py
@@ -95,7 +95,7 @@ class ModuleInformation(commands.Cog):
             for course_of_studies in self.data:
                 shorts.append(f"`{course_of_studies['short']}`")
             await ctx.channel.send(
-                f"Fehler! Wähle entweder eine Studiengangs-Rolle aus oder gebe ein Studiengangskürzel"
+                f"Fehler! Wähle entweder eine Studiengangs-Rolle aus oder gebe ein Studiengangskürzel "
                 f"nach dem Kommando an.\nMögliche Kürzel: {', '.join(shorts)}"
             )
             return None
-- 
GitLab