patreon-archiver


Namepatreon-archiver JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
SummarySave Patreon content you have access to.
upload_time2024-08-17 17:06:13
maintainerNone
docs_urlNone
authorAndrew Udvare
requires_python<4.0,>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Patreon Archiver

[![QA](https://github.com/Tatsh/patreon-archiver/actions/workflows/qa.yml/badge.svg)](https://github.com/Tatsh/patreon-archiver/actions/workflows/qa.yml)

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:

```plain
--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`.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "patreon-archiver",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Andrew Udvare",
    "author_email": "audvare@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0c/e8/2839d72a2deb06ab6fc00d48af2650e79d5d34ab2d54a304df1cd0d8890b/patreon_archiver-0.0.7.tar.gz",
    "platform": null,
    "description": "# Patreon Archiver\n\n[![QA](https://github.com/Tatsh/patreon-archiver/actions/workflows/qa.yml/badge.svg)](https://github.com/Tatsh/patreon-archiver/actions/workflows/qa.yml)\n\nDownload Patreon content. Video content will be saved using yt-dlp. You\nshould ensure that you are logged into Patreon in the appropriate browser\nprofile.\n\nRecommendations in `~/.config/yt-dlp/config` or equivalent file:\n\n```plain\n--cookies-from-browser chrome:Default\n\n--add-metadata\n--all-subs\n--convert-subs srt\n--embed-chapters\n--embed-metadata\n--embed-subs\n--embed-thumbnail\n--geo-bypass\n--merge-output-format mkv\n--no-overwrites\n--sub-langs all\n--write-info-json\n--write-subs\n\n--download-archive ~/somewhere-safe\n```\n\n## Usage\n\nRun `patreon-archiver`. At minimum, campaign ID of the Patreon content\ncreator is required. See help with `--help`.\n\n```\nUsage: patreon-archiver [OPTIONS] CAMPAIGN_ID\n\nOptions:\n  -o, --output-dir TEXT           Output directory\n  -b, --browser TEXT              Browser to read cookies from\n  -p, --profile TEXT              Browser profile\n  -x, --fail                      Do not continue processing after a failed\n                                  yt-dlp command.\n  -L, --yt-dlp-arg-limit INTEGER  Number of media URIs to pass to yt-dlp at a\n                                  time.\n  -S, --sleep-time INTEGER        Number of seconds to wait between requests\n  -d, --debug                     Enable debug output\n  --help                          Show this message and exit.\n```\n\n## How to get the campaign ID\n\n1. Go to the content creator's main page.\n2. View the source and search for `patreon-media/p/campaign/`.\n3. After the `/` there should be a number, as in\n   `patreon-media/p/campaign/12345678`. In that case the campaign ID is\n   `12345678`.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Save Patreon content you have access to.",
    "version": "0.0.7",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f34552ccaaf215403ed42b9c03ac3faca27e6afa95337ac02bcd033683192190",
                "md5": "b70b9a08a016cbba062139b6e6b2cc34",
                "sha256": "44aa80aabd4d8a600a2bf185515407d8215b51878523b2238131e360c2b2c5c8"
            },
            "downloads": -1,
            "filename": "patreon_archiver-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b70b9a08a016cbba062139b6e6b2cc34",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 9091,
            "upload_time": "2024-08-17T17:06:12",
            "upload_time_iso_8601": "2024-08-17T17:06:12.484543Z",
            "url": "https://files.pythonhosted.org/packages/f3/45/52ccaaf215403ed42b9c03ac3faca27e6afa95337ac02bcd033683192190/patreon_archiver-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ce82839d72a2deb06ab6fc00d48af2650e79d5d34ab2d54a304df1cd0d8890b",
                "md5": "8fca4dfa6dc26b8f5eaa57d4e887286a",
                "sha256": "9ce0b4c158d5a5e81bb9745a723fe29ecb93d209ce992f6370a7ca51580fc845"
            },
            "downloads": -1,
            "filename": "patreon_archiver-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "8fca4dfa6dc26b8f5eaa57d4e887286a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 7964,
            "upload_time": "2024-08-17T17:06:13",
            "upload_time_iso_8601": "2024-08-17T17:06:13.779730Z",
            "url": "https://files.pythonhosted.org/packages/0c/e8/2839d72a2deb06ab6fc00d48af2650e79d5d34ab2d54a304df1cd0d8890b/patreon_archiver-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-17 17:06:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "patreon-archiver"
}
        
Elapsed time: 1.77743s