THIS ONLY WORKS WITH Python 3.9
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.