Created
August 16, 2018 19:32
-
-
Save Swipe650/ae46fa9736f21f77fca74abddd3c74c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
onair=$(curl -s https://www.lbc.co.uk | xmllint --html --nowarning --xpath '//section/div/span/a[1]/text()' - | tail -c 25) | |
echo $onair |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment