Web Scraping from bible.com to generate SQLite files to the OpenLP software.
# install environment
pipenv install
# edit configurations in config.ini file
# run script
pipenv run python src/app.py
Parameter | Description | Default |
---|---|---|
sqlite.path |
Path for the SQLite file that should be saved. | ARC.sqlite |
bible.name |
Name of the Bible version. | Almeida Revista e Corrigida |
bible.copyright |
Copyright text. | ARC © 2009 Sociedade Bíblica do Brasil. |
bible.id |
ID of the bible version. You can get it from the bible URL. Example: if the URL is https://www.bible.com/pt/bible/212/GEN.1.ARC, so the ID is 212. | 212 |
bible.initial_ref |
Initial book and chapter that you want to start the scraping. For a complete scraping, you can use the default GEN.1 to start from the first book and chapter or put the book and chapter that you want to start from. |
GEN.1 |
# create virtualenv
pipenv install --dev
# run shell
pipenv shell
# lint
pipenv run pylint --load-plugins pylint_quotes src/*