summaryrefslogtreecommitdiff
path: root/bvggrabber/api/actualdeparture.py
diff options
context:
space:
mode:
Diffstat (limited to 'bvggrabber/api/actualdeparture.py')
-rw-r--r--bvggrabber/api/actualdeparture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bvggrabber/api/actualdeparture.py b/bvggrabber/api/actualdeparture.py
index a1b3b5a..e7c084b 100644
--- a/bvggrabber/api/actualdeparture.py
+++ b/bvggrabber/api/actualdeparture.py
@@ -30,7 +30,7 @@ class ActualDepartureQueryApi(QueryApi):
}
response = requests.get(ACTUAL_API_ENDPOINT, params=params)
if response.ok:
- soup = BeautifulSoup(response.text)
+ soup = BeautifulSoup(response.text, "html.parser")
if soup.find_all('form'):
# The station we are looking for is ambiguous or does not exist
stations = soup.find_all('option')