{"id":21281742,"url":"https://github.com/prophetlamb/patreon-epub","last_synced_at":"2025-03-15T14:22:01.767Z","repository":{"id":239061250,"uuid":"798410295","full_name":"ProphetLamb/patreon-epub","owner":"ProphetLamb","description":"Creates eBooks a patreon stories","archived":false,"fork":false,"pushed_at":"2024-05-09T18:09:49.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T04:27:24.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProphetLamb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T18:07:50.000Z","updated_at":"2024-05-12T12:08:39.000Z","dependencies_parsed_at":"2024-05-09T19:31:24.444Z","dependency_job_id":"fbeb8d8b-5110-4ead-9a24-1a53ed3fec84","html_url":"https://github.com/ProphetLamb/patreon-epub","commit_stats":null,"previous_names":["prophetlamb/patreon-epub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProphetLamb%2Fpatreon-epub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProphetLamb%2Fpatreon-epub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProphetLamb%2Fpatreon-epub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProphetLamb%2Fpatreon-epub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProphetLamb","download_url":"https://codeload.github.com/ProphetLamb/patreon-epub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243740095,"owners_count":20340203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T10:50:30.382Z","updated_at":"2025-03-15T14:22:01.743Z","avatar_url":"https://github.com/ProphetLamb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Patreon Post to Epub converter\n\nThis is a quick and dirty selenium based script to go and capture all of\nthe html posts in chronological order for a tag, then turn them into an epub.\nEditing the script will allow you to use it for additional communities.\n\n**Based on the work of [jstraw](https://github.com/jstraw/patreon-epub)**\n\n## Usage\nCreate a yaml file for stories:\n```\n---\ncreator:\n  name: patreonname\nstories:\n  - Walls\n  - College Stories\n  - WIP\nblacklist:\n  - Taking a Break\n  - Thank you\n```\n\nUse `patreon.py --help` to get command usage information.\n\nEither `-c` or `-f` are required, this will tell the script which browser\nselenium should be trying to control.  The `username` and `password` fields\nare your patreon username and password, oauth is not supported.\n\n## Setup\n\nThese steps are assuming you're using a virtual environment.  Start a shell:  powershell on windows, or bash/zsh on mac/linux.\n\n```shell\n$ python -m venv .venv\n$ . .venv/bin/activate\n$ pip install -r ../requirements.txt\n$\n```\nIf you're on windows this is `.venv/Scripts/` instead of being `.venv/bin/`.\nIn windows you may need to run `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process` before activating.\n\nAt this point you now need to configure the link between selenium (WebDriver)\nand your browser.  Follow the steps at\nhttps://selenium-python.readthedocs.io/installation.html#drivers to configure.\n You can place the exe file for firefox or chrome in `.venv/bin` or\n `.venv/Scripts` as long as you use the activate script to add the\n virtual environment to your path.\n\nYou can now go back to your shell and run `python patreon.py --help` or read\nthe usage to run the script.\n\n# Converting to other formats.\n\nEpub is a open standard, and a good starting point, if you need a book in almost\nany other ebook/document format, your best bet is to download\n[Calibre](https://calibre-ebook.com/) and then use the\n[ebook-convert](https://manual.calibre-ebook.com/generated/en/ebook-convert.html) command.\n\n```\nebook-convert Walls.epub Walls.pdf\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprophetlamb%2Fpatreon-epub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprophetlamb%2Fpatreon-epub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprophetlamb%2Fpatreon-epub/lists"}