Skip to content

antegral/patreon-image-downloader

Repository files navigation

Patreon Media(image) Downloader

Disclaimer
We are not responsible for any (legal) problems arising from using this program or library.

How get my CLIENT_SESSION_ID?

image

  1. Login your Patreon Account.
  2. Open DevTools (press F12 or Ctrl+Shift+I).
  3. Click Application tab.
  4. Click Cookies and https://www.patreon.com
  5. Find session_id name.
  6. Displayed value is your CLIENT_SESSION_ID.

Library install

git clone https://github.com/antegral/patreon-image-downloader.git
cd patreon-image-downloader
pnpm install

Start application

Warning!
Before using cli download, please edit filename config.example.env to config.env. and, you must edit config.env.

pnpm run start

or

ts-node ./index.ts (It is recommended to run as npx or pnpx.)

Dump metadata

Using cli

insert saveMetadata(metadata) between Promise Callback in imgWorker.getDownloadableContentList() of index.ts.
it's already commented out in the appropriate places, you just need to uncomment it.

(see index.ts for more details)

Using library

call includedWorker.writeFile(patreonDownloadableContent[])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published