Last active
September 30, 2023 21:08
-
-
Save savaged/824568147793a62c7748b864591535ce to your computer and use it in GitHub Desktop.
SOTD (scripture of the day)
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/sh | |
# dependencies: curl, grep, sed, html-xml-utils, lolcat and an internet connection | |
curl -s "https://wol.jw.org/en/wol/h/r1/lp-e/$(date +"%Y/%m/%d")" | grep -E -A5 "data-date=\"$(date +"%Y-%m-%d")" | grep -m 1 '\<themeScrp\>' | hxselect -c 'em' | sed 's/$/\n/g' | lolcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment