Skip to main content

Save Patreon content you have access to.

Project description

patreon-archiver

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy pre-commit Poetry pydocstyle pytest Ruff Downloads Stargazers Prettier

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

Save Patreon content you have access to.

Installation

Poetry

poetry add patreon-archiver

Pip

pip install patreon-archiver

Configuration

Video content will be saved using yt-dlp. You should ensure that you are logged into Patreon in the appropriate browser profile.

Recommendations in ~/.config/yt-dlp/config or equivalent file:

--cookies-from-browser chrome:Default

--add-metadata
--all-subs
--convert-subs srt
--embed-chapters
--embed-metadata
--embed-subs
--embed-thumbnail
--geo-bypass
--merge-output-format mkv
--no-overwrites
--sub-langs all
--write-info-json
--write-subs

--download-archive ~/somewhere-safe

Usage

Run patreon-archiver. At minimum, campaign ID of the Patreon content creator is required. See help with --help.

Usage: patreon-archiver [OPTIONS] CAMPAIGN_ID

Options:
  -o, --output-dir TEXT           Output directory
  -b, --browser TEXT              Browser to read cookies from
  -p, --profile TEXT              Browser profile
  -x, --fail                      Do not continue processing after a failed
                                  yt-dlp command.
  -L, --yt-dlp-arg-limit INTEGER  Number of media URIs to pass to yt-dlp at a
                                  time.
  -S, --sleep-time INTEGER        Number of seconds to wait between requests
  -d, --debug                     Enable debug output
  --help                          Show this message and exit.

How to get the campaign ID

  1. Go to the content creator's main page.
  2. View the source and search for patreon-media/p/campaign/.
  3. After the / there should be a number, as in patreon-media/p/campaign/12345678. In that case the campaign ID is 12345678.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patreon_archiver-0.1.6.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patreon_archiver-0.1.6-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file patreon_archiver-0.1.6.tar.gz.

File metadata

  • Download URL: patreon_archiver-0.1.6.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for patreon_archiver-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ddb433e5dcc9d7ca7290e1336d55f46e98f7dda3d667d44aadbb368270a88cc4
MD5 c96f47c03d1e149162082a8c5dc68552
BLAKE2b-256 88820e8f165b3c81de2295053b6b16ca871f7f26f7d40368585e4db3bd45ec20

See more details on using hashes here.

Provenance

The following attestation bundles were made for patreon_archiver-0.1.6.tar.gz:

Publisher: publish.yml on Tatsh/patreon-archiver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file patreon_archiver-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for patreon_archiver-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ba888c9e79b66e1f66a5a3120ea363229c8fde09ded74495f665081bdacff0dc
MD5 fb0cea183e687f29b313ca45bdb0301c
BLAKE2b-256 76afb0cbe14172296138d0f9be1dacb769469acba493c50ba6db7a6cce402964

See more details on using hashes here.

Provenance

The following attestation bundles were made for patreon_archiver-0.1.6-py3-none-any.whl:

Publisher: publish.yml on Tatsh/patreon-archiver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page