mirror of
https://github.com/Code-For-Groningen/temmies.git
synced 2025-05-16 00:33:47 +02:00
Fixed problematic line
This commit is contained in:
parent
5ba67e3b51
commit
8d0164aa42
@ -36,8 +36,7 @@ class Group:
|
|||||||
# Fetch the page and parse it
|
# Fetch the page and parse it
|
||||||
response = self.session.get(group_url)
|
response = self.session.get(group_url)
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise ConnectionError(f"Failed to retrieve page for '{
|
raise ConnectionError(f"Failed to retrieve page for '{self.title}'.")
|
||||||
self.title}'. Tried {group_url}")
|
|
||||||
self._raw = BeautifulSoup(response.text, "lxml")
|
self._raw = BeautifulSoup(response.text, "lxml")
|
||||||
|
|
||||||
def get_items(self) -> list:
|
def get_items(self) -> list:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user