Skip to content
Snippets Groups Projects
Commit bb30f54e authored by Jonas Schürmann's avatar Jonas Schürmann
Browse files

Simplify BeautifulSoup query

parent 29460c7d
Branches
No related tags found
1 merge request!2Soup
...@@ -13,7 +13,7 @@ def find_room(): ...@@ -13,7 +13,7 @@ def find_room():
.find(id="ag-termine") .find(id="ag-termine")
.find_next_sibling("div") .find_next_sibling("div")
.find("ul") .find("ul")
.find_all("li")[0] .find("li")
.get_text() .get_text()
.strip() .strip()
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment