Skip to content

trustosas/daily-scripture-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Daily Scripture Scraper

A script that scrapes daily scriptures from the JW website (wol.jw.org) for a specified year and saves them as text files.

Description

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.

Installation

  1. Clone the repository:
    git clone https://github.com/trustosas/daily-scripture-scraper.git
  2. Navigate to the repository directory:
    cd daily-scripture-scraper
  3. Install the required dependencies:
    pip install aiohttp BeautifulSoup4 unidecode lxml

Usage

  1. Open the daily scripture scraper.py file in a text editor.
  2. Run the script and enter the desired year when prompted:
    python daily\ scripture\ scraper.py
  3. 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.

Example Output

Enter year: 2025
Downloaded 365 sites in 123.45 seconds

Use case

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

About

A script that scrapes daily scriptures from the JW website (wol.jw.org) for a specified year and saves them as text files.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages