instagram

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package instagram provides Instagram profile fetching (requires authentication).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRequired

func AuthRequired() bool

AuthRequired returns true because Instagram requires authentication.

func Match

func Match(urlStr string) bool

Match returns true if the URL is an Instagram profile URL.

Types

type Client

type Client struct{}

Client handles Instagram requests.

func New

func New(ctx context.Context, opts ...Option) (*Client, error)

New creates an Instagram client. Note: Instagram scraping is not yet implemented.

func (*Client) Fetch

func (*Client) Fetch(_ context.Context, _ string) (*profile.Profile, error)

Fetch retrieves an Instagram profile.

type Option

type Option func(*config)

Option configures a Client.

func WithCookies

func WithCookies(cookies map[string]string) Option

WithCookies sets explicit cookie values.

Jump to

Keyboard shortcuts

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