imdb

package
v0.0.0-...-f7fb3ed Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Errors []error
}

Manager represents a IMDB screen scraper.

func ManagerNew

func ManagerNew() *Manager

ManagerNew creates a new IMDB Manager

func (*Manager) GetMovie

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

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

type Movie

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

Jump to

Keyboard shortcuts

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