Created
May 18, 2018 22:26
-
-
Save phil8192/fc347b3f75af8500a3382849c42e2aab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s "https://www.buscms.com/api/REST/html/departureboard.aspx?clientid=CardiffBus&stopid=14302" \ | |
|sed 's/.*data-departureTime//; s/<.*//; s/.*>//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment