cmd

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	App  *di.Container
	OFDL *ofdl.OFDL
)
View Source
var CLI = &cobra.Command{
	Use:   "ofdl",
	Short: "OnlyFans Downloader",
	Long: `OnlyFans Downloader

ofdl is a command-line tool for downloading media from OnlyFans. It uses the
OnlyFans API to scrape subscriptions and media posts, and optionally Aria2 to
anage downloads.

ofdl is not affiliated with OnlyFans in any way. It is a third-party tool that
uses the OnlyFans API to download media. It is not endorsed by OnlyFans, and
should be used at your own risk.

A typical ofdl setup looks like this:

  ofdl config init
  ofdl config set chromium.exec /path/to/chromium
  ofdl config set chromium.profile /path/to/chromium/profile
  ofdl config set downloads.downloader aria2
  ofdl config set downloads.aria2.address ws://localhost:6800/jsonrpc
  ofdl config set downloads.aria2.secret my-secret
  ofdl config set downloads.aria2.root /path/to/downloads

A typical ofdl workflow looks like this:

  # Exit your browser
  ofdl auth
  # Login, press enter
  ofdl scrape
  ofdl download
  # Wait for downloads to finish
  # Scan for new media in Stash
  ofdl stash
`,
	Version: Version,
}
View Source
var ExampleConfig []byte
View Source
var Version = "development"

Functions

func Execute added in v0.1.4

func Execute(app *di.Container)

func UseOFDL

func UseOFDL(cmd *cobra.Command, args []string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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