A command line tool for fetching bible passages from biblegateway.com.
Beautiful Soup 4, Requests, and Unidecode are required to run bible-fetch.
pip3 install beautifulsoup4 Requests Unidecode
./bible psalm 23
./bible jn 3.16 --version NLT
./bible luke 5.1-11 --verse-numbers
./bible John 12:23-26 --ascii
./bible "Phil 1:1-10; 2:3; Rom 3:28" --version NRSV --verse-numbers
Generate a word frequency chart:
bible 1 Corinthians 2:6-16 --version MOUNCE | tr -s "[:space:]" | tr " " "\n" | tr -d '“‘,.”’—:?!;() ' | tr '[:upper:]' '[:lower:]' | sort | uniq -ic | sort
MIT style license (see LICENSE).