Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KVB changed website #2

Open
hsch0 opened this issue Dec 13, 2017 · 1 comment
Open

KVB changed website #2

hsch0 opened this issue Dec 13, 2017 · 1 comment

Comments

@hsch0
Copy link

hsch0 commented Dec 13, 2017

I guess KVB changed their website, because the get_departures function is not working anymore. I changed the following two lines and got it to work.
tables = soup.find_all("table", class_="qr_table")
for row in tables[1].find_all("tr"):

tables = soup.find_all("table", class_="display")
for row in tables[0].find_all("tr"):

@marians
Copy link
Member

marians commented Apr 10, 2018

@hsch0 If you'd like to provide a pull request, I'd be happy to merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants