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 uv pytest Ruff Downloads Stargazers pre-commit Prettier

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

Save Patreon content you have access to.

Installation

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.
  -P, --use-yt-dlp-for-podcasts   Use yt-dlp to download podcasts.
  -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.3.0.tar.gz (26.1 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.3.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for patreon_archiver-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c8d265ff37b1e7e231c8603f5e7122c0a38cc4e52bae5b55acdee06a0d30fdee
MD5 77528d7124d3040a0c3bfe3802fb6469
BLAKE2b-256 e8ddee7252aafdfdace4fe88b9e7e06666fc4ed51d58f201d879cbd207765c44

See more details on using hashes here.

Provenance

The following attestation bundles were made for patreon_archiver-0.3.0.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for patreon_archiver-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83c2501dc3db933488db307af9b4a5afa007cb5fc8ad9aa4c3f06fffe05dfc18
MD5 8641ee22d710814c390bc52ffbba3b48
BLAKE2b-256 4657258b2708f7d5a08aca543ab128df27ce0216aa096022d6edbfca141bcd24

See more details on using hashes here.

Provenance

The following attestation bundles were made for patreon_archiver-0.3.0-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