patreonsync

command module
v0.0.0-...-cf85039 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 25 Imported by: 0

README

patreonsync

Download Patreon posts and make new git commits.

This will get all video entries and put them into js files (JSONP) separated by year and month, and then make git commits and push them to your git repo.

If you enable GitHub Pages, the js files will be accessible on any web page.

Usage

# install
go get -v -u github.com/caiguanhao/patreonsync

# create config
patreonsync -C

# patreonsync will generate a new SSH key. You can use this key as the deploy
# key of your GitHub repository.

# edit config file (~/.patreonsync.go by default)

# start
patreonsync

PatreonSessionId

  1. Log in to https://www.patreon.com/home.
  2. Open Developer Tools (right click web page and click Inspect).
  3. Click "Application" tab.
  4. Click "Cookies" > "https://www.patreon.com" on the left side.
  5. Type session_id in the "Filter" text input.
  6. Click the cookie entry and copy the value.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL