mightmay / youversion-bible.com-downloader

This is a scraper for downloading bible data from https://www.bible.com into json file locally on any computer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bible.com scraper

THIS ONLY WORKS WITH Python 3.9

Configuring environment and running the project

OPTION  1 USING CONDA:
conda create --name bible-dot-com-downloader python=3
source activate bible-scraper

OPTION 2 USING VENV:
python -m venv venv
venv\Scripts\Activate.ps1


pip install -r requirements.txt


Go into the folder:
cd bible

Change language version in \bible\spiders\spider.py
Run using:
scrapy crawl bible

The downloaded json file will be in \bible\data

JSON file structure (this is just an example, your .json file will not be in this order):
JList
[

{"BookName":
  {"ChapterNumber":
    {"VerseNumber":"Verse String"}

....

    }
  }
}
]

To change bible version such as Thai1971 NIV, etc. Go to spider/spider.py then change the line containing bible id.

About

This is a scraper for downloading bible data from https://www.bible.com into json file locally on any computer

License:MIT License


Languages

Language:Python 100.0%