imdb

package
v0.0.0-...-f4f3938 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Director int = iota
	Writer
	Actor
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Errors []error
}

Manager represents an IMDB screen scraper.

func ManagerNew

func ManagerNew() *Manager

ManagerNew creates a new IMDB Manager

func (*Manager) GetMovie

func (m *Manager) GetMovie(url string) (*MovieImdb, error)

GetMovie fills in some IMDB information on the Movie instance passed.

type MovieImdb

type MovieImdb struct {
	// Done
	Title     string
	Year      int
	Rating    string
	Runtime   int
	StoryLine string
	Genres    []string
	Persons   []PersonImdb
	Poster    []byte
}

type PersonImdb

type PersonImdb struct {
	Name string
	Type int
}

Jump to

Keyboard shortcuts

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