Skip to content
New issue

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

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

Already on GitHub? # to your account

Site changes have broken this code #21

Open
StevenMaude opened this issue Mar 29, 2021 · 0 comments
Open

Site changes have broken this code #21

StevenMaude opened this issue Mar 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@StevenMaude
Copy link
Owner

The site's been extensively redesigned. Both the list of stations and the schedules themselves have changed.

Notes from a quick look:

  • list of stations: //a[contains (@class, "sc-c-local-station-tile__schedule-link") or (@class, "sc-c-national-station-tile__schedule-link ")]/@href
  • schedules don't have schema JSON any longer; there is JSON but it's inside a script element <script> window.__PRELOADED_STATE__ = …
@StevenMaude StevenMaude added the bug Something isn't working label Mar 29, 2021
@StevenMaude StevenMaude pinned this issue Mar 29, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant