instagram

package
v0.0.0-...-164eeef Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldTimestamp = "timestamp"
	FieldUsername  = "username"
	Unlimited      = 0
	OrderAsc       = "asc"
	OrderDesc      = "desc"
	OutputJson     = "json"
	OutputNone     = "none"
	OutputTable    = "table"
	OutputYaml     = "yaml"
)
View Source
const (
	FlagLimit                  = "limit"
	FlagOrder                  = "order"
	FlagOutput                 = "output"
	FlagSortBy                 = "sort-by"
	GoogleDriveHost            = "drive.google.com"
	GoogleDriveParsedUrlFormat = "https://drive.google.com/u/0/uc?id=%s&export=download&confirm=t"
	PathData                   = "instagram_data"
	PathDataArchive            = PathData + ".zip"
	PathDocs                   = "docs"
	PathFollowers              = PathData + "/connections/followers_and_following/followers_*.json"
	PathFollowing              = PathData + "/connections/followers_and_following/following.json"
	TableHeaderProfileUrl      = "PROFILE URL"
	TableHeaderTimestamp       = "TIMESTAMP"
	TableHeaderUsername        = "USERNAME"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Limit  int
	Order  string
	Output string
	SortBy string
}

func NewEmptyOptions

func NewEmptyOptions() *Options

func NewOptions

func NewOptions(flags *pflag.FlagSet) (*Options, error)

func (*Options) Validate

func (o *Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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