instagram

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

type Extractor struct{}

Extractor implements the extractor.Extractor interface for Instagram

func New

func New() *Extractor

New creates a new Instagram extractor

func (*Extractor) Extract

func (e *Extractor) Extract(ctx context.Context, url string) (*models.Media, error)

Extract extracts media from Instagram URL

func (*Extractor) Hosts

func (e *Extractor) Hosts() []string

Hosts returns the supported hosts. `www.` / `m.` / `mobile.` prefixes are normalized by the registry, so we only list the canonical form here.

func (*Extractor) Name

func (e *Extractor) Name() string

Name returns the extractor name

Jump to

Keyboard shortcuts

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