diff options
author | Christian Struck <christian@struck.se> | 2017-11-03 10:43:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 10:43:34 +0100 |
commit | 7664fb26df0c4ba0f03504b55e15022769bab861 (patch) | |
tree | 1bb38dbd2973cc74b95172f6787e9b398587396b /bvggrabber/api/actualdeparture.py | |
parent | b74f3795d4c65f1f98a58d6644c80d71b4f86e5d (diff) | |
parent | a02bbe591bdf72423f4246815402ab23c61247b5 (diff) | |
download | bvg-grabber-7664fb26df0c4ba0f03504b55e15022769bab861.tar.gz bvg-grabber-7664fb26df0c4ba0f03504b55e15022769bab861.tar.bz2 bvg-grabber-7664fb26df0c4ba0f03504b55e15022769bab861.zip |
Merge pull request #12 from c7h/develop
updated to BS4.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') |