Created
December 10, 2020 13:19
-
-
Save mperlet/1b493bcf5971f164dda19b9dab9d4313 to your computer and use it in GitHub Desktop.
Shell function to read Ostsee-Zeitung Plus articles
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
function oz { | |
# bash> oz "https://www.ostsee-zeitung.de/Nachrichten/MV-aktuell/MV-plant-kompletten-Corona-Lockdown-in-wenigen-Tagen" | |
echo "{ $(curl -s "$1" | grep -o '\"description\":\".*')" | jq .articleBody | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment