Skip to main content

Save Patreon content you have access to.

Project description

Patreon Archiver

Download Patreon content. 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.0.6.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

patreon_archiver-0.0.6-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

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