https://github.com/estevao90/openlp-bibles-sqlite
Web Scraping from bible.com to generate SQLite files to the OpenLP software.
https://github.com/estevao90/openlp-bibles-sqlite
bible hacktoberfest openlp python sqlite
Last synced: 10 months ago
JSON representation
Web Scraping from bible.com to generate SQLite files to the OpenLP software.
- Host: GitHub
- URL: https://github.com/estevao90/openlp-bibles-sqlite
- Owner: estevao90
- License: mit
- Created: 2020-08-13T00:56:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-27T23:03:58.000Z (over 3 years ago)
- Last Synced: 2023-04-28T02:40:39.000Z (almost 3 years ago)
- Topics: bible, hacktoberfest, openlp, python, sqlite
- Language: Python
- Homepage:
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openlp-bibles-sqlite
Web Scraping from bible.com to generate SQLite files to the OpenLP software.
[](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)
[](https://github.com/estevao90/openlp-bibles-sqlite/actions/workflows/integration.yml)
## Usage
```bash
# install environment
pipenv install
# edit configurations in config.ini file
# run script
pipenv run python src/app.py
```
### Parameters
| 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 , 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` |
## Development
### Dependencies
```shell
# create virtualenv
pipenv install --dev
# run shell
pipenv shell
```
### Helpful developer commands
```shell
# lint
pipenv run pylint --load-plugins pylint_quotes src/*
```