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.2.0.tar.gz (25.4 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.2.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patreon_archiver-0.2.0.tar.gz
  • Upload date:
  • Size: 25.4 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.2.0.tar.gz
Algorithm Hash digest
SHA256 52c9d66718bed1b6ed695b95f158f474c12bea426b56eae8838aae880534ecdc
MD5 d97949bc965d1d31e568c007d9072ff2
BLAKE2b-256 701b8ebc5e0e47e9f23d9f83c56af84782b3bb2be0368437ffea7bbf6dcdf277

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for patreon_archiver-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f29a0c4d72039a98981e015611ab7fe5ecd7e1d73d3894b1bb485efc17b48cf
MD5 8687c0a095fd8882fca5613f06262ec9
BLAKE2b-256 8e37de7096487712b82350b9f7d467e1ce5cc52f7836104abd5e232bfbb51e37

See more details on using hashes here.

Provenance

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