Download General Conference talks as a complete audiobook (m4b) and epub with full transcripts
Project description
gencon-audiobook
Download General Conference talks from churchofjesuschrist.org and produce:
- A chaptered
.m4baudiobook — one chapter per talk, with speaker name in the chapter title, cover art, and full metadata - An
.epubcompanion — full transcripts, speaker photos, nested session/talk table of contents, and theme-safe CSS (dark mode, sepia, and accessibility modes all work)
Single pip install, no prerequisites beyond Python 3.10+. ffmpeg is located automatically — on your PATH if present, otherwise downloaded once via static-ffmpeg.
Inspired by General-Conference-to-Audiobook.
Disclaimer: This is an unofficial tool not affiliated with The Church of Jesus Christ of Latter-day Saints. General Conference content is copyright Intellectual Reserve, Inc. All rights reserved. This tool downloads content for personal, noncommercial use as permitted by the Church's Terms of Use.
Installation
pip install gencon-audiobook
Python 3.10 or newer is required. All other dependencies, including ffmpeg, are handled automatically. ffmpeg 1.0+ is required for per-file progress display during conversion; any ffmpeg from a package manager or the static-ffmpeg fallback exceeds this.
New to the terminal or Python? See the User Guide for step-by-step instructions.
Usage
# Download the most recent conference (both audiobook and epub)
gencon-audiobook
# Select a specific conference
gencon-audiobook --conference "April 2024"
# Audiobook only (skip epub)
gencon-audiobook --audiobook-only
# EPUB only (skip audiobook and audio download)
gencon-audiobook --epub-only
# Custom output directory
gencon-audiobook --output ~/Books
# Rebuild existing output files
gencon-audiobook --overwrite
# Reduce file size (lower bitrate and sample rate)
gencon-audiobook --bitrate 32k --sample-rate 22050
# Show detailed progress in the terminal
gencon-audiobook --verbose
For the full options reference, file size guide, and platform compatibility notes, see the User Guide.
Output structure
~/gencon-audiobook/
April 2024 General Conference/
April 2024 General Conference.m4b # Chaptered audiobook
April 2024 General Conference.epub # Transcript companion
cover.jpg # Conference cover image
audio/ # Downloaded MP3 files
speakers/ # Speaker photos
gencon-audiobook.log # Full DEBUG log for troubleshooting
Running the tool a second time skips files that already exist. Use --overwrite to rebuild.
Documentation
- User Guide — full options reference, file size guide, platform support, troubleshooting
- Listening/Reading Guide — how to open the output files on every platform
- Architecture — codebase structure for contributors
- Technical Decisions — design choices with rationale
Development
git clone https://github.com/XeroIP/gencon-audiobook.git
cd gencon-audiobook
pip install -e ".[dev]"
# Run unit tests (no network required)
pytest tests/ --ignore=tests/test_scraper_live.py --ignore=tests/test_integration.py
# Run live smoke tests (hits the real website)
pytest tests/test_scraper_live.py -v -m live
# Run full end-to-end integration test (requires ffmpeg)
pytest tests/test_integration.py -v -m integration
Project layout
src/gencon_audiobook/
cli.py Click entry point
scraper.py Fetch and parse conference listings and talk pages
downloader.py Download MP3s, cover, and speaker photos
audio.py Convert MP3 to AAC, assemble chaptered m4b
epub_builder.py Build EPUB 3 ZIP from transcripts and images
ffmpeg_manager.py Locate ffmpeg/ffprobe (PATH first, static-ffmpeg fallback)
models.py Conference / Session / Talk dataclasses
utils.py sanitize_filename(), validate_url()
tests/
conftest.py Shared helpers (ffmpeg discovery, silent MP3, JPEG)
test_scraper.py Unit tests against saved HTML fixtures
test_downloader.py Mocked HTTP tests
test_audio.py Audio pipeline with generated silent fixtures
test_epub.py EPUB structure and content validation
test_cli.py CLI behavior (all external calls mocked)
test_utils.py Filename sanitization and URL validation
test_ffmpeg_manager.py ffmpeg/ffprobe discovery and caching
test_scraper_live.py Live smoke tests (@pytest.mark.live)
test_integration.py End-to-end test (@pytest.mark.integration)
fixtures/ Saved HTML snapshots for scraper unit tests
Contributing
See CONTRIBUTING.md.
Legal
- Tool license: MIT — see LICENSE
- Downloaded content: Copyright Intellectual Reserve, Inc. — see LICENSE-CONTENT.md
This tool accesses publicly available content using a transparent User-Agent string, respects robots.txt, and applies a rate-limiting delay between requests. It is intended for personal, noncommercial use only.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gencon_audiobook-0.1.4.tar.gz.
File metadata
- Download URL: gencon_audiobook-0.1.4.tar.gz
- Upload date:
- Size: 261.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c934cd2d162d4f17f8cfbb1b4a9579c8caf03b2507f895f9ced470720f72ae80
|
|
| MD5 |
31c017e4220d553e12b7a03ad8925dfc
|
|
| BLAKE2b-256 |
b0eacc43a2b2642b7b8d0b5957c2ddf0979f16a8567e5d0219a56ba662af3107
|
Provenance
The following attestation bundles were made for gencon_audiobook-0.1.4.tar.gz:
Publisher:
publish.yml on XeroIP/gencon-audiobook
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gencon_audiobook-0.1.4.tar.gz -
Subject digest:
c934cd2d162d4f17f8cfbb1b4a9579c8caf03b2507f895f9ced470720f72ae80 - Sigstore transparency entry: 1276577435
- Sigstore integration time:
-
Permalink:
XeroIP/gencon-audiobook@ba0b72236b5647dac4883260482f0aaa48cb74a5 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/XeroIP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba0b72236b5647dac4883260482f0aaa48cb74a5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gencon_audiobook-0.1.4-py3-none-any.whl.
File metadata
- Download URL: gencon_audiobook-0.1.4-py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feb763251a0a6fa5b216c0326b517c59a68951a78223c6964538d59370918ad2
|
|
| MD5 |
917d4024671939389557f21bf6b44409
|
|
| BLAKE2b-256 |
9dbcbd9c155da0ff7720b1b38b1d15e20f8602a2390632ee8db0ef67f890059d
|
Provenance
The following attestation bundles were made for gencon_audiobook-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on XeroIP/gencon-audiobook
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gencon_audiobook-0.1.4-py3-none-any.whl -
Subject digest:
feb763251a0a6fa5b216c0326b517c59a68951a78223c6964538d59370918ad2 - Sigstore transparency entry: 1276577474
- Sigstore integration time:
-
Permalink:
XeroIP/gencon-audiobook@ba0b72236b5647dac4883260482f0aaa48cb74a5 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/XeroIP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba0b72236b5647dac4883260482f0aaa48cb74a5 -
Trigger Event:
push
-
Statement type: