Closed enejb closed 3 years ago
The scraper changes look good to me! When adding a route make sure to also add it to app.py so the api can support it as well, and also add it to the list of valid routes on the readme.
For removing past departures, we could check if the departure time is before the current time, and if so remove it. This could be saved for a future pr though.
I added dashes to the terminal names in app.py, besides that all looks good!
Thank for the feedback and all the fixes.
This PR tries to add the Bowen Island Snug Cove to Housershoe bay route
How has it been tested?
Run
Notice that the string contains the expected data.
Note: I think it would be good to remove the departures that are in the past the just like in other routes. This is currently not the case.
I am new to python so any feedback on the PR is greatly appreciated :)