Fixed problematic line

This commit is contained in:
Boyan 2024-12-02 18:27:48 +01:00
parent 5ba67e3b51
commit 8d0164aa42

View File

@ -36,8 +36,7 @@ class Group:
# Fetch the page and parse it
response = self.session.get(group_url)
if response.status_code != 200:
raise ConnectionError(f"Failed to retrieve page for '{
self.title}'. Tried {group_url}")
raise ConnectionError(f"Failed to retrieve page for '{self.title}'.")
self._raw = BeautifulSoup(response.text, "lxml")
def get_items(self) -> list: