diff options
Diffstat (limited to 'bvggrabber/api/scheduleddeparture.py')
-rw-r--r-- | bvggrabber/api/scheduleddeparture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bvggrabber/api/scheduleddeparture.py b/bvggrabber/api/scheduleddeparture.py index 7a30d5f..f316b6e 100644 --- a/bvggrabber/api/scheduleddeparture.py +++ b/bvggrabber/api/scheduleddeparture.py @@ -50,7 +50,7 @@ class ScheduledDepartureQueryApi(QueryApi): 'start': 'yes'} response = requests.get(SCHEDULED_API_ENDPOINT, params=params) if response.ok: - soup = BeautifulSoup(response.text) + soup = BeautifulSoup(response.text, "html.parser") if soup.find('span', 'error'): # The station we are looking for is ambiguous or does not exist stations = soup.find('span', 'select').find_all('a') |