Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell function to read Ostsee-Zeitung Plus articles
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