providers

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastVideoSave

type FastVideoSave struct {
	Client *http.Client
}

func (*FastVideoSave) AddImageSource added in v1.2.1

func (p *FastVideoSave) AddImageSource(img interface{}, index int, result *InstaStreamResult)

func (*FastVideoSave) AddVideoFromObject added in v1.2.1

func (p *FastVideoSave) AddVideoFromObject(videoObj map[string]interface{}, index int, result *InstaStreamResult)

func (*FastVideoSave) AddVideoSource added in v1.2.1

func (p *FastVideoSave) AddVideoSource(v interface{}, index int, result *InstaStreamResult)

func (*FastVideoSave) BaseURL

func (p *FastVideoSave) BaseURL() string

func (*FastVideoSave) DoRequest added in v1.1.0

func (p *FastVideoSave) DoRequest(url string) (map[string]interface{}, error)

func (*FastVideoSave) EncodeURL

func (p *FastVideoSave) EncodeURL(text string) (string, error)

func (*FastVideoSave) ExtractImages added in v1.2.1

func (p *FastVideoSave) ExtractImages(apiResult map[string]interface{}, result *InstaStreamResult)

func (*FastVideoSave) ExtractMedia added in v1.1.0

func (p *FastVideoSave) ExtractMedia(apiResult map[string]interface{}) InstaStreamResult

func (*FastVideoSave) ExtractVideos added in v1.2.1

func (p *FastVideoSave) ExtractVideos(apiResult map[string]interface{}, result *InstaStreamResult)

func (*FastVideoSave) Name

func (p *FastVideoSave) Name() string

func (*FastVideoSave) Post

func (p *FastVideoSave) Post() bool

func (*FastVideoSave) Reel

func (p *FastVideoSave) Reel() bool

func (*FastVideoSave) Story

func (p *FastVideoSave) Story() bool

func (*FastVideoSave) Stream

func (p *FastVideoSave) Stream(url string) (InstaStreamResult, error)

type InstaStreamResult

type InstaStreamResult struct {
	Caption  string        `json:"caption"`
	Username string        `json:"username"`
	Total    int           `json:"total"`
	Video    int           `json:"video"`
	Photo    int           `json:"photo"`
	Source   []MediaSource `json:"source"`
}

type MediaSource

type MediaSource struct {
	URL       string `json:"url"`
	Type      string `json:"type"`
	Thumbnail string `json:"thumbnail"`
	Index     int    `json:"index"`
}

type TheSocialCat

type TheSocialCat struct {
	Client *http.Client
}

func (*TheSocialCat) BaseURL

func (p *TheSocialCat) BaseURL() string

func (*TheSocialCat) DoRequest added in v1.1.0

func (p *TheSocialCat) DoRequest(url string) (map[string]interface{}, error)

func (*TheSocialCat) ExtractData added in v1.1.0

func (p *TheSocialCat) ExtractData(apiResult map[string]interface{}, result *InstaStreamResult)

func (*TheSocialCat) ExtractMedia added in v1.1.0

func (p *TheSocialCat) ExtractMedia(mediaData []interface{}, mediaType string, thumbnail string, result *InstaStreamResult)

func (*TheSocialCat) Name

func (p *TheSocialCat) Name() string

func (*TheSocialCat) Post

func (p *TheSocialCat) Post() bool

func (*TheSocialCat) Reel

func (p *TheSocialCat) Reel() bool

func (*TheSocialCat) Story

func (p *TheSocialCat) Story() bool

func (*TheSocialCat) Stream

func (p *TheSocialCat) Stream(url string) (InstaStreamResult, error)

Jump to

Keyboard shortcuts

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