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.
  -L, --yt-dlp-arg-limit INTEGER  Number of media URIs to pass to yt-dlp at a
                                  time.
  -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.1.7.tar.gz (14.7 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.7-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patreon_archiver-0.1.7.tar.gz
  • Upload date:
  • Size: 14.7 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.1.7.tar.gz
Algorithm Hash digest
SHA256 2119d93ca33b998170108cffff8677c01efbfdba5607520b3b9479bbdde505ab
MD5 6ddc17aa138a93b18b0c625b6bed230a
BLAKE2b-256 226bb45ce02f220a6aed8859309a5a7d1a1bf4ba7fd0bc2c98c2810d4d460cd1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for patreon_archiver-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b16efb0a88ddef8d25c61ad9f15b1103257a43e2fbefe67e77fd546ead687cdd
MD5 29fc7db3483098664a4ff01ede7e436e
BLAKE2b-256 873380aed341fb8c4dabd8613105ed84c1f329917ddc9c07989654843d5c4fad

See more details on using hashes here.

Provenance

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