A script that scrapes daily scriptures from the JW website (wol.jw.org) for a specified year and saves them as text files.
The daily-scripture-scraper repository contains a Python script, daily scripture scraper.py, which scrapes daily scriptures from the JW website for a specified year and saves each day's scripture as a text file. The script uses aiohttp for asynchronous HTTP requests and BeautifulSoup for parsing HTML content.
- Clone the repository:
git clone https://github.com/trustosas/daily-scripture-scraper.git
- Navigate to the repository directory:
cd daily-scripture-scraper - Install the required dependencies:
pip install aiohttp BeautifulSoup4 unidecode lxml
- Open the
daily scripture scraper.pyfile in a text editor. - Run the script and enter the desired year when prompted:
python daily\ scripture\ scraper.py
- The script will scrape the daily scriptures for the specified year and save each day's scripture as a text file in the specified directory.
Enter year: 2025
Downloaded 365 sites in 123.45 seconds
I feed the .txt files into KWGT and display the one for each day on my screen. The limit is your creativity. This is what it looks like.
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: trustosas