instaclient

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cookies

type Cookies struct {
	DsUserID  string
	CsrfToken string
	SessionID string
}

type Get

type Get struct {
	URL        string
	SetCookies bool
}

type InstaClient

type InstaClient struct {
	// contains filtered or unexported fields
}

func (*InstaClient) AddCookie

func (ic *InstaClient) AddCookie(c *http.Cookie) error

func (*InstaClient) AddCookies

func (ic *InstaClient) AddCookies(cookies []*http.Cookie) error

func (*InstaClient) DeleteCookies

func (ic *InstaClient) DeleteCookies()

func (*InstaClient) GetCookies

func (ic *InstaClient) GetCookies() (Cookies, error)

func (*InstaClient) SendGet

func (ic *InstaClient) SendGet(g Get) (*http.Response, error)

func (*InstaClient) SendPost

func (ic *InstaClient) SendPost(p Post) (*http.Response, error)

func (*InstaClient) SetCookies

func (ic *InstaClient) SetCookies(src Cookies) error

type Post

type Post struct {
	URL            string
	Referer        string
	SetCookies     bool
	XInstagramAJAX string
}

Jump to

Keyboard shortcuts

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