Skip to main content

lparchive2pub

this tool (and library) aims at helping people extracting full epubs of Let's Plays from https://lparchive.org/

usage: lparchive2epub [-h] [--no-cache] [--strict] URL OUTPUT_FILE

A tool to transform a Let's Play from lparchive.org to epub format.

positional arguments:
  URL
  OUTPUT_FILE

options:
  -h, --help   show this help message and exit
  --no-cache   Don't cache url calls
  --strict     Fail instead of skipping resources (images...) that can't be
               retrieved

The repository also contains the script util/all_archives.py that tries to scrape all LPs from lparchive.

Requirements

Dev

uv, python 3.12

Users

python >= 3.12

Installation

pip install lparchive2epub

To have it installed in its own separate environment, you can use https://github.com/pypa/pipx

pipx install lparchive2epub

A standalone executable is available for releases on windows. See the releases page.

Known limitations

  • Similar images present in multiple pages in the let's play are duplicated, bloating the file. Though recurring images are usually smileys, so not too big. Now handled!
  • Links to images are not properly saved. Now working properly!
  • LPs that are mostly link to YouTube videos are not very interesting to transform to epub
  • Some LPs completely fail to be downloaded.
  • Some LPs contain broken links (typos like hhttp://, dead image hosts...). Common typos are repaired automatically; resources that still can't be retrieved are left as external links, and a report is printed at the end. Please paste that report in a GitHub issue so the case can be handled in a future release. Use --strict to fail instead.

Metadata

Release files for lparchive2epub 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lparchive2epub 1.5.0
File Size Uploaded
lparchive2epub-1.5.0.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lparchive2epub 1.5.0
File Interpreter ABI Platform
lparchive2epub-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 kB

Release files / lparchive2epub-1.5.0.tar.gz

Download URL lparchive2epub-1.5.0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5029f17d3b3f941eb73189b707ba5afcd81596e5e57d19925c838c2fa26c44bc
BLAKE2b-256 checksum
How to use checksums
8c1203cab375f7b554e50a40ae175a678ca77b92d39842e584ab1d82da243de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / lparchive2epub-1.5.0-py3-none-any.whl

Download URL lparchive2epub-1.5.0-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a131eebc4141a2ef31430de337de9e5cfa3a136e39b86fffb2ce1ec3cd72285b
BLAKE2b-256 checksum
How to use checksums
7c1e4af9370ccd572ee01150bfcc0df03cb933e22c5a49ddf911d1f6a20ec39a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page