diff options
author | Christoph Gerneth <login@gerneth.info> | 2015-10-17 22:38:53 -0500 |
---|---|---|
committer | Christoph Gerneth <login@gerneth.info> | 2015-10-17 22:38:53 -0500 |
commit | 728b29a87f45db08da883057b514e2dcf3049431 (patch) | |
tree | a10a7e9d509cfa6f3c6ec623797d882150453982 /bvggrabber/api/actualdeparture.py | |
parent | 352d32f044dbeb7b275a8f3cffc787e341792342 (diff) | |
download | bvg-grabber-728b29a87f45db08da883057b514e2dcf3049431.tar.gz bvg-grabber-728b29a87f45db08da883057b514e2dcf3049431.tar.bz2 bvg-grabber-728b29a87f45db08da883057b514e2dcf3049431.zip |
updated to beautifulsoup 4.4.1
Diffstat (limited to 'bvggrabber/api/actualdeparture.py')
-rw-r--r-- | bvggrabber/api/actualdeparture.py | 2 |
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') |