From 728b29a87f45db08da883057b514e2dcf3049431 Mon Sep 17 00:00:00 2001 From: Christoph Gerneth Date: Sat, 17 Oct 2015 22:38:53 -0500 Subject: updated to beautifulsoup 4.4.1 --- bvggrabber/api/actualdeparture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bvggrabber/api/actualdeparture.py') 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') -- cgit v1.2.3